Update ListingTable to use StatisticsConverter#11068
Merged
alamb merged 7 commits intoapache:mainfrom Jun 24, 2024
Merged
Conversation
xinlifoobar
commented
Jun 23, 2024
| let c1_stats = &stats.column_statistics[0]; | ||
| assert_eq!(c1_stats.null_count, Precision::Exact(1)); | ||
| assert_eq!(c1_stats.max_value, Precision::Absent); | ||
| assert_eq!(c1_stats.min_value, Precision::Absent); |
Contributor
Author
There was a problem hiding this comment.
The test behaviour changes due to Utf8 is not supported in
datafusion/datafusion/core/src/datasource/file_format/parquet.rs
Lines 298 to 376 in ea21b08
datafusion/core/src/datasource/physical_plan/parquet/statistics.rs
Outdated
Show resolved
Hide resolved
alamb
approved these changes
Jun 24, 2024
Contributor
alamb
left a comment
There was a problem hiding this comment.
Thank you @xinlifoobar -- this looks like a great improvement. I really like how you structured the code
| &file_schema, | ||
| file_metadata.schema_descr(), | ||
| ) { | ||
| Ok(stats_converter) => { |
Contributor
There was a problem hiding this comment.
this is a very nice formulation
appletreeisyellow
pushed a commit
to appletreeisyellow/datafusion
that referenced
this pull request
Jun 26, 2024
* Update ListingTable to use StatisticsConverter * complete support for all types parquet * Fix misc * Fix misc * fix test * fix misc * fix none
appletreeisyellow
pushed a commit
to influxdata/arrow-datafusion
that referenced
this pull request
Jun 26, 2024
* Update ListingTable to use StatisticsConverter * complete support for all types parquet * Fix misc * Fix misc * fix test * fix misc * fix none
findepi
pushed a commit
to findepi/datafusion
that referenced
this pull request
Jul 16, 2024
* Update ListingTable to use StatisticsConverter * complete support for all types parquet * Fix misc * Fix misc * fix test * fix misc * fix none
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Closes #10923
Closes #10924
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?