Skip to content

Conversation

@logan-keede
Copy link
Contributor

Which issue does this PR close?

Closes #14172

Rationale for this change

Mark max_size_statistics deprecated

What changes are included in this PR?

  1. Mark the option deprecated in comments
  2. Make the field deprecated in the code

Are these changes tested?

builds properly, no functional changes

Are there any user-facing changes?

not yet.

@github-actions github-actions bot added the common Related to common crate label Jan 18, 2025
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.

This looks good to me -- thank you @logan-keede


/// (writing) Sets max statistics size for any column. If NULL, uses
/// default parquet writer setting
/// max_statistics_size is deprecated, currently it is not being used
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@github-actions github-actions bot added the proto Related to proto crate label Jan 19, 2025
@alamb
Copy link
Contributor

alamb commented Jan 19, 2025

I pushed another commit for #[allow(deprecated)]

@logan-keede
Copy link
Contributor Author

I pushed another commit for #[allow(deprecated)]

Can I ask for the rationale is it just good practice or was it compiler giving warnings? (I am relatively new to rust.)

@alamb
Copy link
Contributor

alamb commented Jan 20, 2025

I pushed another commit for #[allow(deprecated)]

Can I ask for the rationale is it just good practice or was it compiler giving warnings? (I am relatively new to rust.)

The compiler was erroring. For example that is why this CI was failing

https://github.com/apache/datafusion/actions/runs/12847267558/job/35825203912

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 21, 2025
@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Jan 24, 2025
@logan-keede
Copy link
Contributor Author

I thought this was done, apparently not.

Please review the changes and let me know if we need to make more changes before merging this PR. @alamb
Thanks for you hard work,
Logan

@alamb alamb merged commit 18f14ab into apache:main Jan 25, 2025
26 checks passed
@alamb
Copy link
Contributor

alamb commented Jan 25, 2025

Thanks again @logan-keede

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to common crate documentation Improvements or additions to documentation proto Related to proto crate sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate datafusion.execution.parquet.max_statistics_size config option

2 participants