Asthenia0412 opened a new pull request, #67969:
URL: https://github.com/apache/doris/pull/67969

   ### What problem does this PR solve?
   
   Issue Number: close #67370
   
   Problem Summary: When the session time_zone carries the ISO-8601 zero-offset 
token "Z", the BE Arrow Flight SQL batch schema tagged TIMESTAMPTZ columns as 
`timestamp[s, tz=Z]`. "Z" is not a valid IANA zone name nor a fixed "+HH:MM" 
offset, so clients such as PyArrow/zoneinfo reject it (ZoneInfoNotFoundError) 
even though the epoch values are correct. This change rewrites the non-portable 
label (empty or "Z") to the portable "UTC" name; valid IANA names pass through 
unchanged. This matches the FE FlightSqlSchemaHelper, which already emits "UTC" 
for TIMESTAMPTZ.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test: Unit Test (DataTypeSerDeArrowTest)
   - Behavior changed: No
   - Does this need documentation: No


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