Skip to content

Commit

Permalink
chore: make MetadataCacheFactory::writer_props return a Result
Browse files Browse the repository at this point in the history
  • Loading branch information
srh committed Sep 24, 2024
1 parent faf7acb commit 6157bf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/src/physical_plan/parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ pub trait MetadataCacheFactory: Sync + Send {
time_to_idle: Duration,
) -> Arc<dyn ParquetMetadataCache>;
/// Modifies and builds writer properties.
fn build_writer_props(&self, builder: WriterPropertiesBuilder) -> WriterProperties {
builder.build()
fn build_writer_props(&self, builder: WriterPropertiesBuilder) -> Result<WriterProperties> {
Ok(builder.build())
}
}

Expand Down

0 comments on commit 6157bf2

Please sign in to comment.