drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [31/50] [abbrv] drill git commit: MD-735: Handle CastExpression in filter push-down.
Date Tue, 13 Sep 2016 01:32:18 GMT
MD-735: Handle CastExpression in filter push-down.


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

Branch: refs/heads/master
Commit: c62361e870fbd4b99d649d58cc740ca09bb0e366
Parents: 891380f
Author: Smidth Panchamia <spanchamia@mapr.com>
Authored: Mon Feb 22 17:09:53 2016 -0800
Committer: Aditya Kishore <adi@apache.org>
Committed: Fri Sep 9 10:08:36 2016 -0700

----------------------------------------------------------------------
 .../exec/store/maprdb/json/CompareFunctionsProcessor.java      | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/c62361e8/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/maprdb/json/CompareFunctionsProcessor.java
----------------------------------------------------------------------
diff --git a/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/maprdb/json/CompareFunctionsProcessor.java
b/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/maprdb/json/CompareFunctionsProcessor.java
index 2e191a1..024fa2b 100644
--- a/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/maprdb/json/CompareFunctionsProcessor.java
+++ b/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/maprdb/json/CompareFunctionsProcessor.java
@@ -1,5 +1,6 @@
 package org.apache.drill.exec.store.maprdb.json;
 
+import org.apache.drill.common.expression.CastExpression;
 import org.apache.drill.common.expression.FunctionCall;
 import org.apache.drill.common.expression.LogicalExpression;
 import org.apache.drill.common.expression.SchemaPath;
@@ -41,6 +42,11 @@ class CompareFunctionsProcessor extends AbstractExprVisitor<Boolean,
LogicalExpr
     return COMPARE_FUNCTIONS_TRANSPOSE_MAP.keySet().contains(functionName);
   }
 
+  @Override
+  public Boolean visitUnknown(LogicalExpression e, LogicalExpression valueArg) throws RuntimeException
{
+    return false;
+  }
+ 
   public static CompareFunctionsProcessor process(FunctionCall call) {
     String functionName = call.getName();
     LogicalExpression nameArg = call.args.get(0);


Mime
View raw message