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-449711048 As @hvanhovell mentioned offline, the implementation based on java.time classes changes behavior since it uses [IsoChronology](https://docs.oracle.com/javase/8/docs/api/java/time/chrono/IsoChronology.html) which is actually Proleptic Gregorian calendar. It could cause some problems in manipulating old dates. I am going to mention that in the migration guide. I think we can support other calendars like Julian calendar the future by using libraries like [ThreeTen-Extra](https://github.com/ThreeTen/threeten-extra).
---------------------------------------------------------------- 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]
