Skip to content

Commit c29478e

Browse files
authored
refactor: Removed MetadataCacheFactory::build_writer_props
1 parent 7e93511 commit c29478e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

datafusion/src/physical_plan/parquet.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ use arrow::{
4343
};
4444
use hashbrown::HashMap;
4545
use log::debug;
46-
use parquet::file::properties::{WriterProperties, WriterPropertiesBuilder};
4746
use 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.
146144
pub 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

0 commit comments

Comments
 (0)