@@ -25,7 +25,7 @@ use std::rc::Rc;
25
25
use std:: sync:: Arc ;
26
26
use std:: { fmt, vec} ;
27
27
28
- use arrow:: array:: { ArrayRef , BooleanArray , RecordBatch } ;
28
+ use arrow:: array:: RecordBatch ;
29
29
use arrow:: datatypes:: { Fields , Schema , SchemaRef , TimeUnit } ;
30
30
use datafusion_datasource:: file_compression_type:: FileCompressionType ;
31
31
use datafusion_datasource:: file_sink_config:: { FileSink , FileSinkConfig } ;
@@ -36,18 +36,15 @@ use datafusion_datasource::write::{
36
36
use datafusion_datasource:: file_format:: { FileFormat , FileFormatFactory } ;
37
37
use datafusion_datasource:: write:: demux:: DemuxedStreamReceiver ;
38
38
39
- use arrow:: compute:: kernels:: cmp:: eq;
40
- use arrow:: compute:: { and, sum} ;
41
39
use arrow:: datatypes:: { DataType , Field , FieldRef } ;
42
40
use datafusion_common:: config:: { ConfigField , ConfigFileType , TableParquetOptions } ;
43
41
#[ cfg( feature = "parquet_encryption" ) ]
44
42
use datafusion_common:: encryption:: map_config_decryption_to_decryption;
45
43
use datafusion_common:: encryption:: FileDecryptionProperties ;
46
44
use datafusion_common:: parsers:: CompressionTypeVariant ;
47
- use datafusion_common:: stats:: Precision ;
48
45
use 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 ,
51
48
} ;
52
49
use datafusion_common:: { HashMap , Statistics } ;
53
50
use datafusion_common_runtime:: { JoinSet , SpawnedTask } ;
@@ -78,9 +75,7 @@ use parquet::arrow::arrow_writer::{
78
75
ArrowRowGroupWriterFactory , ArrowWriterOptions ,
79
76
} ;
80
77
use parquet:: arrow:: async_reader:: MetadataFetch ;
81
- use parquet:: arrow:: {
82
- ArrowSchemaConverter , ArrowWriter , AsyncArrowWriter ,
83
- } ;
78
+ use parquet:: arrow:: { ArrowWriter , AsyncArrowWriter } ;
84
79
use parquet:: basic:: Type ;
85
80
86
81
use crate :: metadata:: DFParquetMetadata ;
0 commit comments