Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mertak-synnada committed Feb 3, 2025
1 parent 184f293 commit ae0e6a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ impl DataSource for FileScanConfig {
// This process can be moved into CsvExec, but it would be an overlap of their responsibility.
Ok(all_alias_free_columns(projection.expr()).then(|| {
let mut file_scan = self.clone();
let source = file_scan.source.clone();
let source = Arc::clone(&file_scan.source);
let new_projections = new_projections_for_columns(
projection,
&file_scan
Expand Down
2 changes: 1 addition & 1 deletion datafusion/core/tests/parquet/external_access_plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ impl TestFull {
let df_schema = DFSchema::try_from(schema.clone())?;
let predicate = ctx.create_physical_expr(predicate, &df_schema)?;
Arc::new(ParquetSource::new(
Arc::clone(&schema),
Arc::clone(schema),
Some(predicate),
None,
TableParquetOptions::default(),
Expand Down

0 comments on commit ae0e6a7

Please sign in to comment.