phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-777) Support null value for fixed length ARRAY
Date Tue, 02 Jun 2015 05:59:17 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568583#comment-14568583
] 

Hudson commented on PHOENIX-777:
--------------------------------

FAILURE: Integrated in Phoenix-master #776 (See [https://builds.apache.org/job/Phoenix-master/776/])
PHOENIX-777 Support null value for fixed length ARRAY (Dumindu Buddhika) (ramkrishna: rev
7f6bf10b2cc54279b9210772323dc8f4d2939a19)
* phoenix-core/src/main/java/org/apache/phoenix/compile/ExpressionCompiler.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PDate.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PTimestamp.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PChar.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ArraysWithNullsIT.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PDecimal.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PBinary.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PhoenixArray.java


> Support null value for fixed length ARRAY
> -----------------------------------------
>
>                 Key: PHOENIX-777
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-777
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: James Taylor
>            Assignee: Dumindu Buddhika
>             Fix For: 4.4.0
>
>         Attachments: PHOENIX-777.patch
>
>
> A null value for a fixed length array can be handled with a bitset tacked on the end
of the array. If an element is set to null, then the bit at that index is set. Trailing nulls
are not stored and an attempt to access an array past the current size returns null.
> Current behavior,
> PBinaryArray - Throws an exception when a null is inserted.
> PBooleanArray - null is considered as false when a null is inserted.
> PCharArray - Throws an exception when a null is inserted.
> PDateArray - Throws an exception when a null is inserted.
> PDoubleArray - null is considered as 0.0 when a null is inserted.
> PFloatArray - null is considered as 0.0 when a null is inserted.
> PIntegerArray - null is considered as 0 when a null is inserted.
> PLongArray - null is considered as 0 when a null is inserted.
> PSmallIntArray - null is considered as 0 when a null is inserted.
> PTimeArray - Throws an exception when a null is inserted.
> PTimeStampArray - Throws an exception when a null is inserted.
> PTinyIntArray - null is considered as 0 when a null is inserted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message