MaxGekk commented on issue #23358: [SPARK-26424][SQL] Use java.time API in 
date/timestamp expressions
URL: https://github.com/apache/spark/pull/23358#issuecomment-449831018
 
 
   > Do we have an example to show the calendar problem?
   
   There is a shift in dates:
   
![calendar68](https://user-images.githubusercontent.com/1580697/50418814-ddd84700-082d-11e9-97a8-e3e39eabe146.png)
   and number of days in year is different - **365.2425** days in Gregorian 
calendar vs **365.25** days in Julian calendar. So, if you have a day 
arithmetic, you get different results (in years) in the calendars.
    

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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