AdamGS commented on code in PR #14873: URL: https://github.com/apache/datafusion/pull/14873#discussion_r1969993241
########## datafusion/core/src/datasource/file_format/mod.rs: ########## @@ -18,164 +18,28 @@ //! Module containing helper methods for the various file formats //! See write.rs for write related helper methods -/// Default max records to scan to infer the schema -pub const DEFAULT_SCHEMA_INFER_MAX_RECORD: usize = 1000; - pub mod arrow; pub mod avro; pub mod csv; pub mod json; pub mod options; #[cfg(feature = "parquet")] pub mod parquet; -use datafusion_datasource::file::FileSource; + +use ::arrow::array::RecordBatch; +use arrow_schema::ArrowError; +use bytes::Buf; +use bytes::Bytes; +use datafusion_common::Result; pub use datafusion_datasource::file_compression_type; -use datafusion_datasource::file_scan_config::FileScanConfig; +pub use datafusion_datasource::file_format::*; Review Comment: trying to keep existing `use` statements working -- 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