srowen commented on issue #24185: [SPARK-27252][SQL] Make current_date() independent from time zones URL: https://github.com/apache/spark/pull/24185#issuecomment-476596898 Maybe I'm confused; `DateType` isn't logically time-zone-dependent but it's stored in a way that is (time since epoch)? OK this makes more sense. So if I later render this value according to my session time zone, it would already also 'correct' for the timezone? If that's the case then we just have a bug, sure. After the fix, `current_date()` formatted for my current time zone would return what I expect today is? would be the current date from midnight to midnight in my timezone?
---------------------------------------------------------------- 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]
