You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ZheHu (Jira)" <ji...@apache.org> on 2022/11/16 08:30:00 UTC
[jira] [Created] (HBASE-27488) [hbase-connectors] Duplicate result when searching HBase by Spark
ZheHu created HBASE-27488:
-----------------------------
Summary: [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
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)