jswett77 commented on a change in pull request #2203:
URL: https://github.com/apache/calcite/pull/2203#discussion_r502808403



##########
File path: 
core/src/main/java/org/apache/calcite/sql/fun/SqlStdOperatorTable.java
##########
@@ -1888,6 +1888,12 @@ public SqlSyntax getSyntax() {
   public static final SqlFunction CURRENT_TIMESTAMP =
       new SqlAbstractTimeFunction("CURRENT_TIMESTAMP", SqlTypeName.TIMESTAMP);
 
+  /**
+   * The <code>CURRENT_DATETIME [(<i>precision</i>)]</code> function.
+   */
+  public static final SqlFunction CURRENT_DATETIME =
+      new SqlAbstractTimeFunction("CURRENT_DATETIME", SqlTypeName.TIMESTAMP);
+

Review comment:
       No, I realized there is a better way to do this. I'll remove this change.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to