xiedeyantu commented on code in PR #4712:
URL: https://github.com/apache/calcite/pull/4712#discussion_r2652895871
##########
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:
##########
@@ -7491,4 +7493,91 @@ private enum PartToExtract {
AUTHORITY,
USERINFO;
}
+
+ /** SQL {@code AGE(timestamp1, timestamp2)} function. */
+ private static String age(long timestamp1, long timestamp2) {
Review Comment:
Yes, you're right. I think we can just add the test cases I mentioned.
--
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]