Skip to content

Comments

[CALCITE-2989] Use ISO calendar system when converting from java.sql.Date/Time/Timestamp to a unix timestamp#2972

Closed
freastro wants to merge 3 commits intoapache:mainfrom
freastro:hotfix/calcite-2989-util-date
Closed

[CALCITE-2989] Use ISO calendar system when converting from java.sql.Date/Time/Timestamp to a unix timestamp#2972
freastro wants to merge 3 commits intoapache:mainfrom
freastro:hotfix/calcite-2989-util-date

Conversation

@freastro
Copy link

This changes the unix timestamp to Date/Time/Timestamp conversion in SqlFunctions to convert between the ISO calendar system and the standard Gregorian calendar. This ensures that unix timestamps created by SqlFunctions will have the same value as unix timestamps created by DateTimeUtils.

Some of the tests may fail without this corresponding change to Avatica:
apache/calcite-avatica#197

@freastro
Copy link
Author

freastro commented Dec 2, 2022

Will reopen targeting the CALCITE-5414 JIRA issue instead.

@freastro freastro closed this Dec 2, 2022
@freastro freastro deleted the hotfix/calcite-2989-util-date branch December 5, 2022 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants