beliefer opened a new pull request #34712:
URL: https://github.com/apache/spark/pull/34712


   ### What changes were proposed in this pull request?
   This PR used to fix the issue
   https://github.com/apache/spark/pull/33588#issuecomment-978719988
   
   The root cause is Orc write/read timestamp with local timezone. The local 
timezone will be changed.
   This PR let Orc write/read Timestamp with UTC timezone by call 
`useUTCTimestamp(true)` for readers or writers.
   
   
   ### Why are the changes needed?
   Fix the bug for Orc timestamp.
   
   
   ### Does this PR introduce _any_ user-facing change?
   Orc timestamp ntz is a new feature not release yet.
   
   
   ### How was this patch tested?
   New tests.
   


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