-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore: enforce clippy lint needless_pass_by_value to datafusion-datasource-parquet #18695
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
chore: enforce clippy lint needless_pass_by_value to datafusion-datasource-parquet #18695
Conversation
|
we'll have to re-trigger the ci check again (issue addressed #18692)
|
| pub fn statistics_from_parquet_meta_calc( | ||
| metadata: &ParquetMetaData, | ||
| table_schema: SchemaRef, | ||
| table_schema: &SchemaRef, |
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.
Is this a public API break?
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 did not find any references to this function (I guess bcz it was deprecated after 50.0.0 and this statistics_from_parquet_metadata took over it). So I ended up marking it with #[expect(clippy::needless_pass_by_value)]
Which issue does this PR close?
clippy::needless_pass_by_valuetodatafusion-datasource-parquet#18610clippy::needless_pass_by_valuein all datafusion crates #18503What changes are included in this PR?
enforce clippy lint
needless_pass_by_valuetodatafusion-datasource-parquetAre these changes tested?
yes
Are there any user-facing changes?
no