[
https://issues.apache.org/jira/browse/HBASE-19696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16309644#comment-16309644
]
Zheng Hu commented on HBASE-19696:
----------------------------------
bq. we can't return the code from getNextRowOrNextColumn(cell) as it will skip
...
Yes, It's true.
The fix seems good, [[email protected]].
BTW, I have another unrelated problem: when filterResponse is
INCLUDE_AND_SEEK_NEXT_ROW and matchCode is INCLUDE_AND_NEXT_COL, we should
return INCLUDE_AND_SEEK_NEXT_ROW. but the current code will return
INCLUDE_AND_NEXT_COL, seems like it can be optimized ?
The same problem when (filterResponse, matchCode) =
(INCLUDE_AND_SEEK_NEXT_ROW, INCLUDE).
> 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)