[
https://issues.apache.org/jira/browse/PHOENIX-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15338413#comment-15338413
]
James Taylor commented on PHOENIX-3005:
---------------------------------------
Should get compiled twice, once using data table and once using index table. I
think it should favor the order preserving one, all other things being equal.
Will try a quick test tomorrow.
> Use DistinctPrefixFilter for DISTINCT index scans
> -------------------------------------------------
>
> Key: PHOENIX-3005
> URL: https://issues.apache.org/jira/browse/PHOENIX-3005
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Lars Hofhansl
> Fix For: 4.8.0
>
>
> Currently the optimization in PHOENIX-258 is not used for DISTINCT index
> scans. We should add that as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)