hortonworks-spark / shc

The Apache Spark - Apache HBase Connector is a library to support Spark accessing HBase table as external data source or sink.
Apache License 2.0
552 stars 281 forks source link

fix "IN" filter bug when the filter applied to Hbase columns #333

Open dmitr2 opened 4 years ago

dmitr2 commented 4 years ago

What changes were proposed in this pull request?

fix "IN" filter bug when the filter applied to Hbase columns "IN" filter does not work properly for HBase columns. It multiplies number of rows without any filtering. The proposed change introduces a test that reveals the bug and fixes it.

How was this patch tested?

Three unit tests have been added to DefaultSourceSuite: