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

Restrict timestamp to varchar coercion for historical dates #18004

Conversation

Praveen2112
Copy link
Member

Description

Hive 2.+ and Hive 3.+ uses java.sql.Timestamp#toString for coercing Timestamp
to Varchar types. java.sql.Timestamp#toString doesn't capture the historical dates correctly

Additional context and related issues

Depends on #18003

Release notes

( ) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
(x) Release notes are required, with the following suggested text:

# Section
* Restrict timestamp to varchar coercion for historical dates.

@cla-bot cla-bot bot added the cla-signed label Jun 22, 2023
@github-actions github-actions bot added hive Hive connector tests:hive labels Jun 22, 2023
@Praveen2112 Praveen2112 force-pushed the praveen/restrict_timestamp_coercion_for_historical_dates branch from c05a92a to 2d367c6 Compare June 22, 2023 08:05
Hive 2.+ and Hive 3.+ uses `java.sql.Timestamp#toString` for coercing Timestamp
to Varchar types. `java.sql.Timestamp#toString` doesn't capture the historical dates correctly
@Praveen2112 Praveen2112 force-pushed the praveen/restrict_timestamp_coercion_for_historical_dates branch from 2d367c6 to 338c363 Compare July 14, 2023 07:56
@Praveen2112 Praveen2112 marked this pull request as ready for review July 14, 2023 07:58
@Praveen2112 Praveen2112 requested a review from findepi July 21, 2023 07:36
@Praveen2112 Praveen2112 merged commit 6699eff into trinodb:master Jul 21, 2023
@github-actions github-actions bot added this to the 423 milestone Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed hive Hive connector
Development

Successfully merging this pull request may close these issues.

6 participants