drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [07/50] [abbrv] drill git commit: Applying DRILL-4020 (The not-equal operator returns incorrect results when used on the HBase row key)
Date Tue, 13 Sep 2016 01:31:54 GMT
Applying DRILL-4020 (The not-equal operator returns incorrect results when used on the HBase
row key)


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/9bd65246
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/9bd65246
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/9bd65246

Branch: refs/heads/master
Commit: 9bd65246e58271ad787ba6deb94de7c071ec4839
Parents: 75aa051
Author: Aditya <aditya@mapr.com>
Authored: Fri Nov 6 15:56:36 2015 -0800
Committer: Aditya Kishore <adi@apache.org>
Committed: Fri Sep 9 10:08:29 2016 -0700

----------------------------------------------------------------------
 .../org/apache/drill/exec/store/maprdb/MapRDBFilterBuilder.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/9bd65246/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/maprdb/MapRDBFilterBuilder.java
----------------------------------------------------------------------
diff --git a/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/maprdb/MapRDBFilterBuilder.java
b/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/maprdb/MapRDBFilterBuilder.java
index a240719..857d799 100644
--- a/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/maprdb/MapRDBFilterBuilder.java
+++ b/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/maprdb/MapRDBFilterBuilder.java
@@ -67,6 +67,7 @@ public class MapRDBFilterBuilder extends AbstractExprVisitor<HBaseScanSpec,
Void
        */
       Filter filter = parsedSpec.getFilter();
       if (filter instanceof RowFilter &&
+          ((RowFilter)filter).getOperator() != CompareOp.NOT_EQUAL &&
           ((RowFilter)filter).getComparator() instanceof BinaryComparator) {
     	  filter = null;
       }


Mime
View raw message