DRILL-904: Fixes in project push down are causing HBase Filter pushdown to plan 
indefinitely.


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

Branch: refs/heads/master
Commit: 6c8ce4f3642db2d29a10a3c0ca29e2a1e266b2da
Parents: 2f09863
Author: Aditya Kishore <[email protected]>
Authored: Thu Jun 5 02:50:01 2014 -0700
Committer: Aditya Kishore <[email protected]>
Committed: Thu Jun 5 02:50:01 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/drill/exec/store/hbase/HBaseGroupScan.java   | 1 +
 .../org/apache/drill/exec/store/hbase/HBaseStoragePlugin.java    | 4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/6c8ce4f3/contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseGroupScan.java
----------------------------------------------------------------------
diff --git 
a/contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseGroupScan.java
 
b/contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseGroupScan.java
index c7187ba..e5a5fcc 100644
--- 
a/contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseGroupScan.java
+++ 
b/contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseGroupScan.java
@@ -123,6 +123,7 @@ public class HBaseGroupScan extends AbstractGroupScan 
implements DrillHBaseConst
     this.storagePlugin = that.storagePlugin;
     this.storagePluginConfig = that.storagePluginConfig;
     this.hTableDesc = that.hTableDesc;
+    this.filterPushedDown = that.filterPushedDown;
   }
 
   @Override

http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/6c8ce4f3/contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseStoragePlugin.java
----------------------------------------------------------------------
diff --git 
a/contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseStoragePlugin.java
 
b/contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseStoragePlugin.java
index e105836..7bc7c4b 100644
--- 
a/contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseStoragePlugin.java
+++ 
b/contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseStoragePlugin.java
@@ -76,9 +76,7 @@ public class HBaseStoragePlugin extends AbstractStoragePlugin 
{
   }
 
   public Set<StoragePluginOptimizerRule> getOptimizerRules() {
-    return ImmutableSet.of();
-//     reenable once DRILL-904 is fixed
-//    return ImmutableSet.of(HBasePushFilterIntoScan.INSTANCE);
+    return ImmutableSet.of(HBasePushFilterIntoScan.INSTANCE);
   }
 
 }
\ No newline at end of file

Reply via email to