You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (JIRA)" <ji...@apache.org> on 2018/12/20 03:07:00 UTC

[jira] [Updated] (HBASE-21618) Scan with the same startRow(inclusive=true) and stopRow(inclusive=false) returns one result

     [ https://issues.apache.org/jira/browse/HBASE-21618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guanghao Zhang updated HBASE-21618:
-----------------------------------
    Status: Patch Available  (was: Open)

> Scan with the same startRow(inclusive=true) and stopRow(inclusive=false) returns one result
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-21618
>                 URL: https://issues.apache.org/jira/browse/HBASE-21618
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 2.0.2
>         Environment: hbase server 2.0.2
> hbase client 2.0.0
>            Reporter: Jermy Li
>            Priority: Major
>         Attachments: HBASE-21618.master.001.patch
>
>
> I expect the following code to return none result, but still return a row:
> {code:java}
> byte[] rowkey = "some key existed";
> Scan scan = new Scan();
> scan.withStartRow(rowkey, true);
> scan.withStopRow(rowkey, false);
> htable.getScanner(scan);
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)