caicancai commented on code in PR #3784:
URL: https://github.com/apache/calcite/pull/3784#discussion_r1591685463


##########
core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java:
##########
@@ -270,6 +270,13 @@ private static SqlCall transformConvert(SqlValidator 
validator, SqlCall call) {
               .andThen(SqlTypeTransforms.TO_NULLABLE_ALL),
           OperandTypes.SAME_SAME);
 
+  /** The "NVL(value, value)" function. */
+  @LibraryOperator(libraries = {SPARK})
+  public static final SqlBasicFunction ADD_MONTHS =

Review Comment:
   Thanks for the reminder, I will improve this pr. It seems that it supports 
date and string types. The string type will verify the valid format of the date.



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to