From 2b56774486d6c98e732c8ddc4abf0930f499e450 Mon Sep 17 00:00:00 2001 From: kamille Date: Tue, 6 Aug 2024 16:01:15 +0800 Subject: [PATCH] remove default for PartitionedFile. --- datafusion/core/src/datasource/listing/mod.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/datafusion/core/src/datasource/listing/mod.rs b/datafusion/core/src/datasource/listing/mod.rs index 1603b05fe490..c5a742d50e53 100644 --- a/datafusion/core/src/datasource/listing/mod.rs +++ b/datafusion/core/src/datasource/listing/mod.rs @@ -160,24 +160,6 @@ impl From for PartitionedFile { } } -impl Default for PartitionedFile { - fn default() -> Self { - Self { - object_meta: ObjectMeta { - location: Path::default(), - last_modified: chrono::Utc.timestamp_nanos(0), - size: 0, - e_tag: None, - version: None, - }, - partition_values: Vec::new(), - range: None, - statistics: None, - extensions: None, - } - } -} - #[cfg(test)] mod tests { use crate::datasource::listing::ListingTableUrl;