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

[jira] [Assigned] (HBASE-27488) [hbase-connectors] Duplicate result when searching HBase by Spark

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

Duo Zhang reassigned HBASE-27488:
---------------------------------

    Assignee: ZheHu

> [hbase-connectors] Duplicate result when searching HBase by Spark
> -----------------------------------------------------------------
>
>                 Key: HBASE-27488
>                 URL: https://issues.apache.org/jira/browse/HBASE-27488
>             Project: HBase
>          Issue Type: Bug
>          Components: hbase-connectors
>            Reporter: ZheHu
>            Assignee: ZheHu
>            Priority: Major
>
> I've used hbase-connector for querying HBase table by Spark, and the following issue is what I've encountered recently:
> When I run SQL:
> {code:java}
> select * from hbase_tabe where rowkey in ('r1', 'r2') or rowkey='r1'
> {code}
> I've got duplicate row "r1" in results.
> In HBaseTableScanRdd, buildGets method forms two duplicate GET request for rowkey "r1". I think we might need a Set to make sure duplicate rowkey won't be request.



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