You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ja...@apache.org on 2014/06/06 04:52:31 UTC
[14/23] git commit: DRILL-869: ExprParser fails when operators have
space in name.
DRILL-869: ExprParser fails when operators have space in name.
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/c6c3cd58
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/c6c3cd58
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/c6c3cd58
Branch: refs/heads/master
Commit: c6c3cd581f7ec845bf8b21ce1c776e2fecbab291
Parents: 21a3283
Author: vkorukanti <ve...@gmail.com>
Authored: Fri May 30 10:31:38 2014 -0700
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Thu Jun 5 09:35:02 2014 -0700
----------------------------------------------------------------------
.../org/apache/drill/common/expression/FunctionCallFactory.java | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/c6c3cd58/common/src/main/java/org/apache/drill/common/expression/FunctionCallFactory.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/FunctionCallFactory.java b/common/src/main/java/org/apache/drill/common/expression/FunctionCallFactory.java
index 6e8e0f4..b619fd8 100644
--- a/common/src/main/java/org/apache/drill/common/expression/FunctionCallFactory.java
+++ b/common/src/main/java/org/apache/drill/common/expression/FunctionCallFactory.java
@@ -58,8 +58,12 @@ public class FunctionCallFactory {
opToFuncTable.put("<>", "not_equal");
opToFuncTable.put(">=", "greater_than_or_equal_to");
opToFuncTable.put("<=", "less_than_or_equal_to");
+ opToFuncTable.put("is null", "isnull");
opToFuncTable.put("is not null", "isnotnull");
opToFuncTable.put("is true", "istrue");
+ opToFuncTable.put("is not true", "isnottrue");
+ opToFuncTable.put("is false", "isfalse");
+ opToFuncTable.put("is not false", "isnotfalse");
opToFuncTable.put("!", "not");
opToFuncTable.put("u-", "negative");