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
HIVE-26658: INT64 Parquet timestamps cannot be mapped to most Hive numeric types #3698
Conversation
Kudos, SonarCloud Quality Gate passed! |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Still relevant, please keep this open! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @zabetak . This looks good to me, though the CI run from a few months ago showed a test failure. Is it because the .q and .q.out files have a different ordering for the ALTER TABLE
statements?
Thanks for the review @cnauroth ! Indeed I changed the order of the statements in the .q file just before opening the PR and forgot to update the respective .q.out. I rebased the PR against latest master and updated the stale .q.out file so I am hoping that now all tests will come back green. |
Kudos, SonarCloud Quality Gate passed! |
Hey @scarlin-cloudera , since this is a follow-up of a ticket that you worked on can you please have a look as well? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests passed on the last run, so +1 (non-binding). Thanks for the update, @zabetak !
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…meric types (Stamatis Zampetakis reviewed by Chris Nauroth, Steve Carlin, Ayush Saxena) Closes apache#3698
…meric types (Stamatis Zampetakis reviewed by Chris Nauroth, Steve Carlin, Ayush Saxena) Closes apache#3698
What changes were proposed in this pull request?
Why are the changes needed?
Restore backward compatibility; allow mapping INT64 timestamps with timestamp annotation to the following Hive numeric types:
For more details see HIVE-26658.
Does this PR introduce any user-facing change?
Avoids errors/exceptions when attempting to map Parquet INT64 with timestamp to anything except TIMESTAMP & BIGINT.
How was this patch tested?