You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/03/09 11:14:42 UTC

[jira] [Updated] (PHOENIX-123) Fixed with array should not write any footer

     [ https://issues.apache.org/jira/browse/PHOENIX-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Taylor updated PHOENIX-123:
---------------------------------

    Attachment: arrayLength.patch

> 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)