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

Hudson commented on PHOENIX-123:
--------------------------------

FAILURE: Integrated in Apache Phoenix - Branch:master #121 (See 
[https://builds.apache.org/job/Phoenix/121/])
PHOENIX-123 Fixed with array should not write any footer (jamestaylor: rev 
12e5658e94ec059154ef2c19799b37164357df1b)
* 
phoenix-core/src/main/java/org/apache/phoenix/expression/function/ArrayLengthFunction.java
* phoenix-core/src/main/java/org/apache/phoenix/compile/ExpressionProjector.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/PhoenixArray.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/PArrayDataType.java
* phoenix-core/src/main/java/org/apache/phoenix/query/QueryConstants.java
* 
phoenix-core/src/main/java/org/apache/phoenix/expression/ArrayConstructorExpression.java
* phoenix-core/src/main/java/org/apache/phoenix/schema/PDataType.java
* phoenix-core/src/main/java/org/apache/phoenix/compile/UpsertCompiler.java
* 
phoenix-core/src/main/java/org/apache/phoenix/exception/ValueTypeIncompatibleException.java
* 
phoenix-core/src/test/java/org/apache/phoenix/schema/PDataTypeForArraysTest.java
* 
phoenix-core/src/main/java/org/apache/phoenix/expression/LiteralExpression.java


> Fixed with array should not write any footer
> --------------------------------------------
>
>                 Key: PHOENIX-123
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-123
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: James Taylor
>             Fix For: 3.0.0
>
>         Attachments: arrayLength.patch
>
>
> Fixed length arrays should not write any footer, as it might throw off the 
> byte comparison. For example, if comparing two arrays of different lengths, 
> the longer array would begin to compare its elements against the footer of 
> the shorter array. If the footer happened to be bigger (bytes-wise) for the 
> shorter array, it would incorrectly evaluate to being bigger.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to