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

James Taylor commented on PHOENIX-3012:
---------------------------------------

To take into account local indexes, see ScanUtil.setRowKeyOffset() which you'd 
need to tweak and call a new DistinctPrefixFilter.setKeyOffset() and adjust 
setNextCellHint() as is done in SkipScanFilter.setNextCellHint(). The filter 
just has to know how many bytes to ignore in the row key and then use the 
current key to fill in the bytes when it sets the seek next hint key.

> DistinctPrefixFilter logic fails with local indexes
> ---------------------------------------------------
>
>                 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)

Reply via email to