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

Hudson commented on PHOENIX-1872:
---------------------------------

FAILURE: Integrated in Phoenix-master #693 (See 
[https://builds.apache.org/job/Phoenix-master/693/])
PHOENIX-1872 Use PrimitiveBooleanArray of boolean[] instead of PhoenixArray of 
Boolean[] (thomas: rev 5f3d3892ff925f80289dc7b2ac918a91eedacfb1)
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PBoolean.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/PDateArrayToStringTest.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PhoenixArray.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/PrimitiveBooleanPhoenixArrayToStringTest.java
* 
phoenix-core/src/test/java/org/apache/phoenix/expression/ArrayAppendFunctionTest.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/types/BasePhoenixArrayToStringTest.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/types/PBooleanArray.java


> Support PrimitiveBooleanPhoenixArray when creating PhoenixArray from Boolean[]
> ------------------------------------------------------------------------------
>
>                 Key: PHOENIX-1872
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1872
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Alex Warshavsky
>            Assignee: Alex Warshavsky
>            Priority: Minor
>              Labels: newbie
>
> Currently, when phoenix array is created from a boolean array, PhoenixArray 
> in instantiated instead of PrimitiveBooleanPhoenixArray.
> PArrayDataType.instantiatePhoenixArray(type, Boolean[] \{true, false});
> Other scalar/primitive types implement PhoenixArrayFactory to take advantage 
> of primitive arrays. E.g. 
> PArrayDataType.instantiatePhoenixArray(type, Integer[] \{1,2});
> returns PrimitiveIntPhoenixArray.



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

Reply via email to