jayzhan211 commented on code in PR #14616: URL: https://github.com/apache/datafusion/pull/14616#discussion_r1952536136
########## datafusion/core/src/datasource/physical_plan/file_stream.rs: ########## @@ -31,49 +31,17 @@ use crate::datasource::listing::PartitionedFile; use crate::datasource::physical_plan::file_scan_config::PartitionColumnProjector; use crate::datasource::physical_plan::{FileMeta, FileScanConfig}; use crate::error::Result; -use crate::physical_plan::metrics::{ - BaselineMetrics, Count, ExecutionPlanMetricsSet, MetricBuilder, Time, -}; +use crate::physical_plan::metrics::{BaselineMetrics, ExecutionPlanMetricsSet}; use crate::physical_plan::RecordBatchStream; use arrow::datatypes::SchemaRef; use arrow::error::ArrowError; use arrow::record_batch::RecordBatch; -use datafusion_common::instant::Instant; +pub use datafusion_catalog_listing::file_stream_part::*; Review Comment: It's better to avoid importing everything at once so that the imported modules are explicitly controlled and managed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org