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-478999211
 
 
   In the commit 
https://github.com/apache/spark/pull/24195/commits/de77ac23346810bed33bf14a17dc2498db1ef477,
 I reverted back previous implementation with `to_utc_timestamp` but this 
didn't make the test more stable. I have played with it slightly be changing 
default system timezone:
   ```scala
   testWithAllStateVersions("prune results by current_date, complete mode") {
       TimeZone.setDefault(DateTimeUtils.getTimeZone("GMT+11:00"))
   ```
   and the test fails periodically. So, it depends on current default JVM time 
zone so much.

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