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::{
4343} ;
4444use hashbrown:: HashMap ;
4545use log:: debug;
46- use parquet:: file:: properties:: { WriterProperties , WriterPropertiesBuilder } ;
4746use parquet:: file:: {
4847 footer,
4948 metadata:: RowGroupMetaData ,
@@ -141,7 +140,6 @@ pub trait ParquetMetadataCache: Debug + Sync + Send {
141140 }
142141}
143142
144- // TODO: Rename to ParquetMetadataCacheFactory? Rename for build_writer_props field?
145143/// Constructs the desired types of caches for Parquet Metadata.
146144pub trait MetadataCacheFactory : Sync + Send {
147145 /// Makes a noop cache (which doesn't cache)
@@ -152,13 +150,6 @@ pub trait MetadataCacheFactory: Sync + Send {
152150 max_capacity : u64 ,
153151 time_to_idle : Duration ,
154152 ) -> 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- }
162153}
163154
164155/// Default MetadataCache, does not cache anything
You can’t perform that action at this time.
0 commit comments