You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ruanhui (Jira)" <ji...@apache.org> on 2023/11/10 08:24:00 UTC

[jira] [Commented] (HBASE-28195) set start row as prefix if a scan with PrefixFilter

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

ruanhui commented on HBASE-28195:
---------------------------------

For string rowkey, the stop row also can be set as prefix.sub(length-1) + ((char) ((int) prefix_last_char + 1)) ? 

> set start row as prefix if a scan with PrefixFilter
> ---------------------------------------------------
>
>                 Key: HBASE-28195
>                 URL: https://issues.apache.org/jira/browse/HBASE-28195
>             Project: HBase
>          Issue Type: Improvement
>          Components: Filters
>    Affects Versions: 3.0.0-alpha-4
>            Reporter: ruanhui
>            Assignee: ruanhui
>            Priority: Minor
>             Fix For: 3.0.0-beta-1
>
>
> If a scan with PrefixFilter, we can set start row as the prefix. This will help reduce filtered data.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)