MaxGekk commented on issue #24195: [SPARK-25496][SQL] Deprecate 
from_utc_timestamp and to_utc_timestamp
URL: https://github.com/apache/spark/pull/24195#issuecomment-577622143
 
 
   @marmbrus What is the use case when you need to shift UTC timestamps by zone 
offsets? At the moment, I see only one when you somehow placed non-UTC 
timestamps in to `TIMESTAMP` column which is by definition contains UTC 
timestamps. If it is not the case, you should be careful because any other 
Spark SQL functions/operators assume UTC timestamps, and you will get wrong 
results if you apply them.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to