github-actions[bot] commented on code in PR #63290:
URL: https://github.com/apache/doris/pull/63290#discussion_r3252833122


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/literal/TimestampTzLiteral.java:
##########
@@ -454,6 +455,14 @@ public static Expression fromJavaDateType(LocalDateTime 
dateTime, int precision)

Review Comment:
   `ZoneOffset.toString()` returns `Z` for UTC, so when the FE default/session 
timezone is UTC this produces values like `2026-05-16 12:00:00.000000Z`. The 
new unit test expects `[+-]HH:MM`, and BE-side TIMESTAMPTZ formatting also 
emits numeric offsets (`+00:00`), so this is timezone-dependent and will fail 
in UTC test environments. Please normalize UTC to `+00:00` here, for example by 
formatting the offset with a formatter or replacing `Z` with `+00:00`.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to