freastro opened a new pull request, #2995:
URL: https://github.com/apache/calcite/pull/2995

   Converting java.sql types to unix timestamps requires extra steps to also 
convert to the correct calendar. Unix timestamps should follow the proleptic 
Gregorian calendar as defined by ISO-8601. Java uses the standard Gregorian 
calendar for java.sql types and switches to the Julian calendar for dates 
before the Gregorian shift.
   
   The DateTimeUtils class in Avatica correctly handles the calendar 
conversions. Calcite should use those methods since its own methods do not 
currently convert between calendars.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to