cloud-fan commented on issue #24195: [SPARK-25496][SQL] Deprecate 
from_utc_timestamp and to_utc_timestamp
URL: https://github.com/apache/spark/pull/24195#issuecomment-476875361
 
 
   long time ago I tried to improve these 2 functions in 
https://github.com/apache/spark/pull/21169 but now I can't remember all the 
details. These 2 functions are confusing as Spark's timestamp is UTC timestamp 
and users can't associate a timezone to it.
   
   IIUC these two functions look correctly if the input is string and we cast 
the result to string. Otherwise these two functions do not make any sense.

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