xuzifu666 commented on code in PR #4165:
URL: https://github.com/apache/calcite/pull/4165#discussion_r1929528581
##########
core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java:
##########
@@ -162,7 +162,7 @@ private SqlLibraryOperators() {
* <p>MySQL has "DATEDIFF(date, date2)" and "TIMEDIFF(time, time2)" functions
* but Calcite does not implement these because they have no "timeUnit"
* argument. */
- @LibraryOperator(libraries = {MSSQL, REDSHIFT, SNOWFLAKE})
+ @LibraryOperator(libraries = {MSSQL, REDSHIFT, SNOWFLAKE, HIVE})
Review Comment:
date_diff is not compativeļ¼and had test for date_sub and repeat function
@ILuffZhe
--
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]