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

Reid Chan commented on HBASE-27488:
-----------------------------------

left a comment in the PR

> [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)

Reply via email to