cloud-fan commented on issue #26134: [SPARK-29486][SQL] CalendarInterval should 
have 3 fields: months, days and microseconds
URL: https://github.com/apache/spark/pull/26134#issuecomment-542619529
 
 
   one day is always 24 hours, but one day interval may not. Daylight saving 
doesn't change the # of hours in a day, but the timezone offset of a region. 
For example, California is in UTC-7 right now, but will be in UTC-8 after 3 Nov 
2019. So adding one day to `3 Nov 2019` at local time maybe different from 
adding 24 hours.
   
   However, I'd like to know if it's allowed to set timezone to a region name 
that has undetermined timezone offset. If it's not allowed then one day 
interval is always 24 hours in SQL.

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