-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
WIP Upgrade to arrow-rs/parquet 54.0.0
#13663
Closed
Closed
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
5554b92
Temp patch to new arrow-rs release
alamb 4991cc4
chore: Update for API changes
alamb f13b588
Update for new pyo3 API
alamb 00a66bd
Allow deprecated methods for dict_id
alamb 2fe785b
remove unused max_statistics_size field
alamb 24fd642
Update docs
alamb 794eb38
chore: remove max_statistics_size
alamb 5e0ea62
Merge remote-tracking branch 'apache/main' into alamb/upgrade_to_arrow
alamb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -459,10 +459,6 @@ config_namespace! { | |
/// default parquet writer setting | ||
pub statistics_enabled: Option<String>, transform = str::to_lowercase, default = Some("page".into()) | ||
|
||
/// (writing) Sets max statistics size for any column. If NULL, uses | ||
/// default parquet writer setting | ||
pub max_statistics_size: Option<usize>, default = Some(4096) | ||
|
||
/// (writing) Target maximum number of rows in each row group (defaults to 1M | ||
/// rows). Writing larger row groups requires more memory to write, but | ||
/// can get better compression and be faster to read. | ||
|
@@ -1653,10 +1649,6 @@ config_namespace_with_hashmap! { | |
/// Sets bloom filter number of distinct values. If NULL, uses | ||
/// default parquet options | ||
pub bloom_filter_ndv: Option<u64>, default = None | ||
|
||
/// Sets max statistics size for the column path. If NULL, uses | ||
/// default parquet options | ||
pub max_statistics_size: Option<usize>, default = None | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it is a mistake to remove this field directly -- we should put it back in and figure out some way to mark it deprecated |
||
} | ||
} | ||
|
||
|
Oops, something went wrong.
Oops, something went wrong.
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.
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.
I think simply removing the config option is pretty rough as you end up with errors liek this
The best thing to do would be to mark the config setting deprecated, but there wasn't an obvious way to do this with the existing macros. I will futz with the macros and see if I can make it deprecated somehow