Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ResultSet#getDate for dates before 1582 #4005

Conversation

findepi
Copy link
Member

@findepi findepi commented Jun 11, 2020

No description provided.

@cla-bot cla-bot bot added the cla-signed label Jun 11, 2020
@findepi findepi requested a review from martint June 12, 2020 06:21
findepi added 2 commits June 12, 2020 23:33
Fix `getTimestamp` for dates before 1582.

Also, fix `getTimestamp` for dates where time zone rules observed by
`java.util.Date` and Java Time differ (for some zones, this is as late
as beginning of XX century).

The `getTimestamp` overload accepting a `Calendar` remains not fixed.
@findepi findepi force-pushed the findepi/master/fix-resultset-getdate-for-dates-before-1582-d39797 branch from 49bfc3d to e6bd612 Compare June 12, 2020 21:33
@findepi findepi merged commit 9f3262c into trinodb:master Jun 12, 2020
@findepi findepi deleted the findepi/master/fix-resultset-getdate-for-dates-before-1582-d39797 branch June 12, 2020 21:33
@findepi
Copy link
Member Author

findepi commented Jun 13, 2020

FYI this got reverted, and i created #4018 as a follow up.

@findepi findepi added the jdbc Relates to Trino JDBC driver label Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed jdbc Relates to Trino JDBC driver
Development

Successfully merging this pull request may close these issues.

2 participants