gaogaotiantian commented on PR #53161: URL: https://github.com/apache/spark/pull/53161#issuecomment-3624200177
> For the input side, Spark can be more lenient and allow mixed timezone aware and non-aware datetime objects, by using session timezone. I think it's better to enforce the match, otherwise the user could potentially create a naive timestamp, send to UDF, then get an aware timestamp because we "output" an aware timestamp from `TimestampType`. Heuristics makes this this to difficult to get correct. -- 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]
