adaitche edited a comment on issue #24195: [SPARK-25496][SQL] Deprecate 
from_utc_timestamp and to_utc_timestamp
URL: https://github.com/apache/spark/pull/24195#issuecomment-518963017
 
 
   @MaxGekk Thanks for the quick response. 
   
   If the source timezone is one with daylight saving (i.e. the offset changes 
twice a year), for example `Europe/Berlin`, simple manual shifting doesn't 
work. Of course, I could try to compute the time-dependent offset and shift by 
it. But then I would start implementing timezone-logic, which is tricky to get 
right.

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