caicancai commented on code in PR #3969:
URL: https://github.com/apache/calcite/pull/3969#discussion_r1764319140
##########
core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java:
##########
@@ -133,6 +133,16 @@ private SqlLibraryOperators() {
public static final SqlFunction DATEADD =
new SqlTimestampAddFunction("DATEADD");
+ /** The "DATE_ADD(start_date, num_days)" function
+ * (Spark) Returns the date that is num_days after start_date. */
+ @LibraryOperator(libraries = {SPARK})
+ public static final SqlFunction DATE_ADD_SPARK =
Review Comment:
@NobiGo Bigquery's DATE_ADD already exists. Duplicate naming will cause
conflicts.
--
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]