[
https://issues.apache.org/jira/browse/PHOENIX-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15341059#comment-15341059
]
James Taylor commented on PHOENIX-3012:
---------------------------------------
The caller of {{ScanUtil.setRowKeyOffset()}} will pass through the right offset
for the local index case. The other filters that need this handle salting in a
different way, but you could use this same technique potentially for salting.
I'm surprised it doesn't work for salted tables. The salt byte is part of the
RowKeySchema and it won't change as a scan would never scan across salt
boundaries.
> DistinctPrefixFilter logic fails with local indexes and salted tables
> ---------------------------------------------------------------------
>
> Key: PHOENIX-3012
> URL: https://issues.apache.org/jira/browse/PHOENIX-3012
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Lars Hofhansl
> Priority: Critical
> Fix For: 4.8.0
>
>
> Arrghhh... Another case where there are issues.
> With local indexes parents (PHOENIX-258) does not work.
> I do not understand enough about local indexes to say why offhand, only that
> it appears to be broken.
> I'll look.Might be best to turn this off for local indexes for now (if that's
> easy to detect) while I figure this out.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)