File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
datafusion/src/physical_plan Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ use arrow::{
43
43
} ;
44
44
use hashbrown:: HashMap ;
45
45
use log:: debug;
46
- use parquet:: file:: properties:: { WriterProperties , WriterPropertiesBuilder } ;
47
46
use parquet:: file:: {
48
47
footer,
49
48
metadata:: RowGroupMetaData ,
@@ -141,7 +140,6 @@ pub trait ParquetMetadataCache: Debug + Sync + Send {
141
140
}
142
141
}
143
142
144
- // TODO: Rename to ParquetMetadataCacheFactory? Rename for build_writer_props field?
145
143
/// Constructs the desired types of caches for Parquet Metadata.
146
144
pub trait MetadataCacheFactory : Sync + Send {
147
145
/// Makes a noop cache (which doesn't cache)
@@ -152,13 +150,6 @@ pub trait MetadataCacheFactory: Sync + Send {
152
150
max_capacity : u64 ,
153
151
time_to_idle : Duration ,
154
152
) -> Arc < dyn ParquetMetadataCache > ;
155
- /// Modifies and builds writer properties.
156
- fn build_writer_props (
157
- & self ,
158
- builder : WriterPropertiesBuilder ,
159
- ) -> Result < WriterProperties > {
160
- Ok ( builder. build ( ) )
161
- }
162
153
}
163
154
164
155
/// Default MetadataCache, does not cache anything
You can’t perform that action at this time.
0 commit comments