MaxGekk opened a new pull request #24287: [WIP][SPARK-27357][SQL] Cast 
timestamps to/from dates independently from time zones
URL: https://github.com/apache/spark/pull/24287
 
 
   ## What changes were proposed in this pull request?
   
   In the PR, I propose to make casting of `TIMESTAMP` to/from `DATE` 
independent from session local time zone (and system default time zone) because 
both types internally contains intervals since epoch (in `UTC`). In this way, 
they must be converted directly without any shifts.
   
   ## How was this patch tested?
   
   By existing test suites like `CastSuite` and `DateTimeUtilsSuite`.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to