[
https://issues.apache.org/jira/browse/PHOENIX-2987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15326112#comment-15326112
]
Hudson commented on PHOENIX-2987:
---------------------------------
FAILURE: Integrated in Phoenix-master #1255 (See
[https://builds.apache.org/job/Phoenix-master/1255/])
PHOENIX-2987 DISTINCT/GROUP BY optimization not correct for null values (larsh:
rev d3c36c4ae9b086a5b50170f452a8554d949b737c)
* phoenix-core/src/main/java/org/apache/phoenix/filter/DistinctPrefixFilter.java
*
phoenix-core/src/test/java/org/apache/phoenix/filter/DistinctPrefixFilterTest.java
> DISTINCT/GROUP BY optimization not correct for null values in key parts
> -----------------------------------------------------------------------
>
> Key: PHOENIX-2987
> URL: https://issues.apache.org/jira/browse/PHOENIX-2987
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Lars Hofhansl
> Assignee: Lars Hofhansl
> Fix For: 4.8.0
>
> Attachments: 2987.txt
>
>
> During forward scans with the DistinctPrefix filter set null values are not
> returned.
> The reason is that that lastKey is initialized with
> ByteUtil.EMPTY_BYTE_ARRAY, which happens to the equal to a null value in a
> key part. So the filter determines it has seen the value before.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)