phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-5116) DistinctPrefixFilterIT fails.
Date Thu, 31 Jan 2019 20:53:00 GMT

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

Hudson commented on PHOENIX-5116:
---------------------------------

FAILURE: Integrated in Jenkins build Phoenix-4.x-HBase-1.4 #56 (See [https://builds.apache.org/job/Phoenix-4.x-HBase-1.4/56/])
PHOENIX-5116 DistinctPrefixFilterIT fails. (larsh: rev 7c9144d2dd538ab778be18f6171794a3ab98b248)
* (edit) phoenix-core/src/main/java/org/apache/phoenix/compile/ScanRanges.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/optimize/QueryOptimizer.java


> DistinctPrefixFilterIT fails.
> -----------------------------
>
>                 Key: PHOENIX-5116
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5116
>             Project: Phoenix
>          Issue Type: Task
>    Affects Versions: 4.15.0
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Major
>             Fix For: 4.15.0
>
>         Attachments: 5116-master.txt, 5116-master.txt, 5116.txt
>
>
> Caused by this scenario outlined on PHOENIX-5109:
> {quote}
> This just does not end. Now there's a special case for the following:
> *     compound key of VARCHAR
> *     SELECT DISTINCT <prefix of the key>
> *     Salting is enabled
> *     There is a local index on an unrelated column
> Now Phoenix selects a full local index scan, which is heuristically less efficient...
I think.
> The problem is that there are cases where a plan for a salted table nonetheless gets
a key range that is not salted - does not have the salt range in it. That throws the logic
off in this case.
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message