Skip to content

Commit 93b9263

Browse files
Fix clippy
1 parent 60355a0 commit 93b9263

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

datafusion/datasource/src/file_scan_config.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,10 @@ pub struct FileScanConfig {
183183
/// Expression adapter used to adapt filters and projections that are pushed down into the scan
184184
/// from the logical schema to the physical schema of the file.
185185
pub expr_adapter_factory: Option<Arc<dyn PhysicalExprAdapterFactory>>,
186-
186+
/// Optional metrics
187187
pub metrics: ExecutionPlanMetricsSet,
188+
/// Optional user defined schema adapter
188189
pub schema_adapter_factory: Option<Arc<dyn SchemaAdapterFactory>>,
189-
190-
///
191190
pub projected_statistics: Statistics,
192191
}
193192

datafusion/proto/src/physical_plan/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ impl protobuf::PhysicalPlanNode {
760760
)?;
761761

762762
let source = AvroSource::new(conf);
763-
Ok(DataSourceExec::from_data_source(conf))
763+
Ok(DataSourceExec::from_data_source(source))
764764
}
765765
#[cfg(not(feature = "avro"))]
766766
panic!("Unable to process a Avro PhysicalPlan when `avro` feature is not enabled")

0 commit comments

Comments
 (0)