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

feat: Add support for Int8 and Int16 data types in data page statistics #10931

Conversation

Weijun-H
Copy link
Member

Which issue does this PR close?

Closes #10928

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the core Core DataFusion crate label Jun 16, 2024
Copy link
Contributor

@marvinlanhenke marvinlanhenke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Weijun-H
Thanks LGTM!

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Weijun-H (and @marvinlanhenke for the review 🙏 )

This PR has a merge conflict now (likely due to #10927)

@Weijun-H Weijun-H force-pushed the Support-extracting-Int8,-Int16,-Int32-statistics-from-Parquet-Data-Pages branch from 7d9a556 to ce22d2e Compare June 16, 2024 12:38
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again @Weijun-H

@@ -573,16 +568,6 @@ async fn test_int_16() {
Test {
reader: &reader,
// mins are [-5, -4, 0, 5]
// BUG: not sure why this returns same data but in Int32Array type even though I debugged and the columns name is "i16" an its data is Int16
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@alamb
Copy link
Contributor

alamb commented Jun 17, 2024

I also filed #10951 and #10952 to add more type support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support extracting Int8, Int16, Int32 statistics from Parquet Data Pages
3 participants