cloud-fan commented on code in PR #36663: URL: https://github.com/apache/spark/pull/36663#discussion_r882418668
########## sql/catalyst/src/main/java/org/apache/spark/sql/connector/expressions/GeneralScalarExpression.java: ########## @@ -196,6 +196,96 @@ * <li>Since version: 3.4.0</li> * </ul> * </li> + * <li>Name: <code>DATE_ADD</code> + * <ul> + * <li>SQL semantic: <code>DATE_ADD(start_date, num_days)</code></li> + * <li>Since version: 3.4.0</li> + * </ul> + * </li> + * <li>Name: <code>DATEDIFF</code> + * <ul> + * <li>SQL semantic: <code>DATEDIFF(end_date, start_date)</code></li> + * <li>Since version: 3.4.0</li> + * </ul> + * </li> + * <li>Name: <code>TRUNC</code> + * <ul> + * <li>SQL semantic: <code>TRUNC(date, format)</code></li> + * <li>Since version: 3.4.0</li> + * </ul> + * </li> + * <li>Name: <code>EXTRACT</code> Review Comment: seems this PR does not support EXTRACT -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org