You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2018/06/15 20:16:04 UTC

hive git commit: HIVE-19879 : Remove unused calcite sql operator. (Slim Bouguerra via Ashutosh Chauhan)

Repository: hive
Updated Branches:
  refs/heads/master bd21f890e -> ccfca8ec7


HIVE-19879 : Remove unused calcite sql operator. (Slim Bouguerra via Ashutosh Chauhan)

Signed-off-by: Ashutosh Chauhan <ha...@apache.org>


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

Branch: refs/heads/master
Commit: ccfca8ec7dd3e6cdb9b2097e44b124a8b94086a2
Parents: bd21f89
Author: Slim Bouguerra <sl...@gmail.com>
Authored: Fri Jun 15 15:15:29 2018 -0500
Committer: Ashutosh Chauhan <ha...@apache.org>
Committed: Fri Jun 15 15:15:29 2018 -0500

----------------------------------------------------------------------
 .../hive/ql/optimizer/calcite/translator/SqlFunctionConverter.java  | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/ccfca8ec/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/SqlFunctionConverter.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/SqlFunctionConverter.java b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/SqlFunctionConverter.java
index 5626471..06c9617 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/SqlFunctionConverter.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/SqlFunctionConverter.java
@@ -447,7 +447,6 @@ public class SqlFunctionConverter {
       );
       registerFunction("trunc", HiveTruncSqlOperator.INSTANCE, hToken(HiveParser.Identifier, "trunc"));
       registerFunction("to_date", HiveToDateSqlOperator.INSTANCE, hToken(HiveParser.Identifier, "to_date"));
-      registerFunction("date_add", SqlStdOperatorTable.DATETIME_PLUS, hToken(HiveParser.Identifier, "date_add"));
       registerFunction("to_unix_timestamp", HiveUnixTimestampSqlOperator.INSTANCE,
           hToken(HiveParser.Identifier, "to_unix_timestamp")
       );