hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Hu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19696) Filter returning INCLUDE_AND_NEXT_COL doesn't skip remaining versions when scan has explicit columns
Date Thu, 04 Jan 2018 09:37:00 GMT

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

Zheng Hu commented on HBASE-19696:
----------------------------------

{code}
       case INCLUDE_AND_SEEK_NEXT_ROW:
+        if (matchCode == MatchCode.INCLUDE || matchCode == MatchCode.INCLUDE_AND_SEEK_NEXT_COL)
{
+          matchCode = MatchCode.INCLUDE_AND_SEEK_NEXT_ROW;
+        }
         break;
{code}

Can just   return INCLUDE_AND_SEEK_NEXT_ROW ? 

> 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-2
>
>         Attachments: HBASE-19696.patch, HBASE-19696_v1.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)

Mime
View raw message