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(parquet): Support converted type in timestamp reader #11964

Closed
wants to merge 1 commit into from

Conversation

rui-mo
Copy link
Collaborator

@rui-mo rui-mo commented Dec 26, 2024

Gluten observed a UT failure at the code location below. The cause is that the
timestamp schema element lacks a logical type and is composed of type, name,
and converted_type. This PR allows parsing converted type from schema elements
and uses it in the timestamp reader to determine the timestamp precision if
logical type is not supplied.

@rui-mo rui-mo requested a review from majetideepak as a code owner December 26, 2024 08:38
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 26, 2024
Copy link

netlify bot commented Dec 26, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit c2b49f0
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/676d1616b083a00008c41fda

@Yuhta Yuhta added the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label Dec 27, 2024
@facebook-github-bot
Copy link
Contributor

@pedroerp has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@pedroerp merged this pull request in 7cbfce0.

@rui-mo
Copy link
Collaborator Author

rui-mo commented Dec 31, 2024

Thank you for helping review and merge this PR!

athmaja-n pushed a commit to athmaja-n/velox that referenced this pull request Jan 10, 2025
…ubator#11964)

Summary:
Gluten observed a UT failure at the code location below. The cause is that the
timestamp schema element lacks a logical type and is composed of type, name,
and converted_type. This PR allows parsing converted type from schema elements
and uses it in the timestamp reader to determine the timestamp precision if
logical type is not supplied.

https://github.com/facebookincubator/velox/blob/87c558e094043c5451659c59d38ffc1bd6de781a/velox/dwio/parquet/reader/TimestampColumnReader.h#L99

Pull Request resolved: facebookincubator#11964

Reviewed By: xiaoxmeng

Differential Revision: D67718622

Pulled By: pedroerp

fbshipit-source-id: 948e597447e43444abb2f5f56f17a44fbd0a16ec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants