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

Hudson commented on PHOENIX-37:
-------------------------------

FAILURE: Integrated in Apache Phoenix - Branch:master #86 (See 
[https://builds.apache.org/job/Phoenix/86/])
Phoenix-37 (ramkrishna: rev 702ffb87eba01b6dd5bdde0ad3eba6b18a02daca)
* phoenix-core/src/test/java/org/apache/phoenix/end2end/ArrayTest.java
* 
phoenix-core/src/main/java/org/apache/phoenix/expression/ArrayConstructorExpression.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/PArrayDataType.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/PDataType.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/PhoenixArray.java
Revert "Phoenix-37" (ramkrishna: rev a3872e000889b44d42f7a5852afc7b29e242cd8d)
* phoenix-core/src/main/java/org/apache/phoenix/schema/PDataType.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/PhoenixArray.java
* phoenix-core/src/test/java/org/apache/phoenix/end2end/ArrayTest.java
* 
phoenix-core/src/main/java/org/apache/phoenix/expression/ArrayConstructorExpression.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/PArrayDataType.java


> Prevent deserialize and re-serialize all array elements in construction of 
> array
> --------------------------------------------------------------------------------
>
>                 Key: PHOENIX-37
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-37
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: James Taylor
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 3.0.0
>
>         Attachments: Phoenix-37_final.patch, Phoenix-37_final_1.patch, 
> Phoenix-37_final_2.patch
>
>
> ArrayConstructorExpression.evaluate() currently deserializes into object form 
> all array elements only to serialize them back again as bytes. Instead, just 
> use a TrustedByteArrayOuputStream (initially sized based on the number of 
> child elements) to serialize the data into. If variable length, track the 
> offset information as the data is written.
> Second, we should put the header information (offsets, length, and version) 
> at the end of the array instead of the start. This will make it possible to 
> compare arrays against each other in their byte form.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to