[ https://issues.apache.org/jira/browse/HBASE-19696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16309593#comment-16309593 ]
Ankit Singhal edited comment on HBASE-19696 at 1/3/18 12:46 PM: ---------------------------------------------------------------- bq. Can we just write 'return columns.getNextRowOrNextColumn(cell);'? we can't return the code from getNextRowOrNextColumn(cell) as it will skip including the current cell in the results. Actually, we just need to call ExplicitColumnTracker#doneWithColumn but it's not availabe in ColumnTracker. was (Author: an...@apache.org): bq. Can we just write 'return columns.getNextRowOrNextColumn(cell);'? we can't return the code from getNextRowOrNextColumn(cell) as it will skip including the cell in the results. Actually, we just need to call ExplicitColumnTracker#doneWithColumn but it's not availabe in ColumnTracker. > Filter returning INCLUDE_AND_NEXT_COL doesn't skip remaining versions when > scan has explicit columns > ---------------------------------------------------------------------------------------------------- > > Key: HBASE-19696 > URL: https://issues.apache.org/jira/browse/HBASE-19696 > Project: HBase > Issue Type: Bug > Affects Versions: 2.0.0-beta-1 > Reporter: Ankit Singhal > Assignee: Ankit Singhal > Priority: Critical > Fix For: 2.0.0-beta-1 > > Attachments: HBASE-19696.patch > > > INCLUDE_AND_NEXT_COL from filter doesn't skip remaining versions of the cell > if the scan has explicit columns. > This is because we use a column hint from a column tracker to prepare a cell > for seeking to next column but we are not updating column tracker with next > column when filter returns INCLUDE_AND_NEXT_COL. -- This message was sent by Atlassian JIRA (v6.4.14#64029)