@@ -25,7 +25,7 @@ use std::rc::Rc;
2525use std:: sync:: Arc ;
2626use std:: { fmt, vec} ;
2727
28- use arrow:: array:: { ArrayRef , BooleanArray , RecordBatch } ;
28+ use arrow:: array:: RecordBatch ;
2929use arrow:: datatypes:: { Fields , Schema , SchemaRef , TimeUnit } ;
3030use datafusion_datasource:: file_compression_type:: FileCompressionType ;
3131use datafusion_datasource:: file_sink_config:: { FileSink , FileSinkConfig } ;
@@ -36,18 +36,15 @@ use datafusion_datasource::write::{
3636use datafusion_datasource:: file_format:: { FileFormat , FileFormatFactory } ;
3737use datafusion_datasource:: write:: demux:: DemuxedStreamReceiver ;
3838
39- use arrow:: compute:: kernels:: cmp:: eq;
40- use arrow:: compute:: { and, sum} ;
4139use arrow:: datatypes:: { DataType , Field , FieldRef } ;
4240use datafusion_common:: config:: { ConfigField , ConfigFileType , TableParquetOptions } ;
4341#[ cfg( feature = "parquet_encryption" ) ]
4442use datafusion_common:: encryption:: map_config_decryption_to_decryption;
4543use datafusion_common:: encryption:: FileDecryptionProperties ;
4644use datafusion_common:: parsers:: CompressionTypeVariant ;
47- use datafusion_common:: stats:: Precision ;
4845use datafusion_common:: {
49- internal_datafusion_err, internal_err, not_impl_err, ColumnStatistics ,
50- DataFusionError , GetExt , HashSet , Result , ScalarValue , DEFAULT_PARQUET_EXTENSION ,
46+ internal_datafusion_err, internal_err, not_impl_err, DataFusionError , GetExt ,
47+ HashSet , Result , DEFAULT_PARQUET_EXTENSION ,
5148} ;
5249use datafusion_common:: { HashMap , Statistics } ;
5350use datafusion_common_runtime:: { JoinSet , SpawnedTask } ;
@@ -78,9 +75,7 @@ use parquet::arrow::arrow_writer::{
7875 ArrowRowGroupWriterFactory , ArrowWriterOptions ,
7976} ;
8077use parquet:: arrow:: async_reader:: MetadataFetch ;
81- use parquet:: arrow:: {
82- ArrowSchemaConverter , ArrowWriter , AsyncArrowWriter ,
83- } ;
78+ use parquet:: arrow:: { ArrowWriter , AsyncArrowWriter } ;
8479use parquet:: basic:: Type ;
8580
8681use crate :: metadata:: DFParquetMetadata ;
0 commit comments