alamb commented on a change in pull request #8639: URL: https://github.com/apache/arrow/pull/8639#discussion_r521467373
########## File path: rust/datafusion/src/logical_plan/mod.rs ########## @@ -21,2300 +21,21 @@ //! Logical query plans can then be optimized and executed directly, or translated into //! physical query plans and executed. -use std::fmt::{self, Debug, Display}; -use std::{any::Any, collections::HashMap, collections::HashSet, sync::Arc}; - -use aggregates::{AccumulatorFunctionImplementation, StateTypeFunction}; -use arrow::{ - compute::can_cast_types, - datatypes::{DataType, Field, Schema, SchemaRef}, -}; - -use crate::datasource::parquet::ParquetTable; -use crate::datasource::TableProvider; -use crate::error::{DataFusionError, Result}; -use crate::{ - datasource::csv::{CsvFile, CsvReadOptions}, - physical_plan::udaf::AggregateUDF, - scalar::ScalarValue, -}; -use crate::{ - physical_plan::{ - aggregates, expressions::binary_operator_data_type, functions, udf::ScalarUDF, - }, - sql::parser::FileType, -}; -use arrow::record_batch::RecordBatch; -use functions::{ReturnTypeFunction, ScalarFunctionImplementation, Signature}; - +mod builder; Review comment: This module now `pub use` s all `struct`, `enum` and `traits` that were public in this module so no client code should need to change. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org