[ https://issues.apache.org/jira/browse/HBASE-27488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reid Chan resolved HBASE-27488. ------------------------------- Fix Version/s: hbase-connectors-1.0.1 Hadoop Flags: Reviewed Resolution: Fixed > [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 > Fix For: hbase-connectors-1.0.1 > > > 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)