davidradl commented on code in PR #25897:
URL: https://github.com/apache/flink/pull/25897#discussion_r1910615148


##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/calls/FloorCeilCallGen.scala:
##########
@@ -65,15 +65,17 @@ class FloorCeilCallGen(
           unit match {
             // for Timestamp with timezone info
             case MILLENNIUM | CENTURY | DECADE | YEAR | QUARTER | MONTH | WEEK 
| DAY | HOUR |
-                MINUTE | SECOND | MILLISECOND
-                if terms.length + 1 == method.getParameterCount &&
-                  method.getParameterTypes()(terms.length) == 
classOf[TimeZone] =>
+                MINUTE | SECOND | MILLISECOND | MICROSECOND | NANOSECOND
+                if terms.length + 2 == method.getParameterCount &&

Review Comment:
   @hanyuzheng7 I am not an expert on Scala. Maybe in the absence of a code 
change, some comments would help. 



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