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 19:13:35 UTC

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

srowen commented on issue #24185: [SPARK-27252][SQL] Make current_date() independent from time zones
URL: https://github.com/apache/spark/pull/24185#issuecomment-475990219
 
 
   I see your point, in that a date by itself without a time shouldn't be relative to a time zone.`current_date` seems like it should reflect the date in the session time zone though. I think of it as the date portion of the current time, and time is relative to a time zone. Is this matching some other DB behavior?

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