You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/03/24 22:45:19 UTC

[GitHub] [spark] cloud-fan commented on issue #24185: [SPARK-27252][SQL] Make current_date() independent from time zones

cloud-fan commented on issue #24185: [SPARK-27252][SQL] Make current_date() independent from time zones
URL: https://github.com/apache/spark/pull/24185#issuecomment-476008854
 
 
   According to the SQL standard, timestamp is timezone dependent while date is not. For `current_date`, it seems the timezone shifting is reasonable. E.g. when I run `current_date` in a database, I'd expect the result matches my local calendar. Can we check other mainstreaming databases?

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


With regards,
Apache Git Services

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