Skip to content

Conversation

@foskey51
Copy link
Contributor

Which issue does this PR close?

What changes are included in this PR?

enforce clippy lint needless_pass_by_value to datafusion-datasource-parquet

Are these changes tested?

yes

Are there any user-facing changes?

no

@github-actions github-actions bot added core Core DataFusion crate proto Related to proto crate datasource Changes to the datasource crate labels Nov 14, 2025
@foskey51
Copy link
Contributor Author

we'll have to re-trigger the ci check again (issue addressed #18692)

Unhandled exception. System.IO.IOException: No space left on device : '/home/runner/actions-runner/cached/_diag/Worker_20251114-085328-utc.log'
at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.Diagnostics.TextWriterTraceListener.Flush()

pub fn statistics_from_parquet_meta_calc(
metadata: &ParquetMetaData,
table_schema: SchemaRef,
table_schema: &SchemaRef,
Copy link
Contributor

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?

Copy link
Contributor Author

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)]

@github-actions github-actions bot removed core Core DataFusion crate proto Related to proto crate labels Nov 15, 2025
@Jefffrey Jefffrey added this pull request to the merge queue Nov 17, 2025
Merged via the queue into apache:main with commit 5791822 Nov 17, 2025
28 checks passed
@foskey51 foskey51 deleted the chore/needless-pass-by-value-datafusion-datasource-parquet branch November 17, 2025 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

datasource Changes to the datasource crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enforce lint rule clippy::needless_pass_by_value to datafusion-datasource-parquet

2 participants