diff --git a/crates/core/src/delta_datafusion/cdf/scan_utils.rs b/crates/core/src/delta_datafusion/cdf/scan_utils.rs index 27285179f6..459157f4c8 100644 --- a/crates/core/src/delta_datafusion/cdf/scan_utils.rs +++ b/crates/core/src/delta_datafusion/cdf/scan_utils.rs @@ -84,6 +84,7 @@ pub fn create_partition_values( extensions: None, range: None, statistics: None, + metadata_size_hint: None, }; file_groups.entry(new_part_values).or_default().push(part); diff --git a/crates/core/src/delta_datafusion/mod.rs b/crates/core/src/delta_datafusion/mod.rs index d430ed8655..e41e6c4397 100644 --- a/crates/core/src/delta_datafusion/mod.rs +++ b/crates/core/src/delta_datafusion/mod.rs @@ -1054,6 +1054,7 @@ fn partitioned_file_from_action( range: None, extensions: None, statistics: None, + metadata_size_hint: None, } } @@ -1824,6 +1825,7 @@ mod tests { use crate::storage::ObjectStoreRef; use crate::writer::test_utils::get_delta_schema; use arrow::array::StructArray; + use arrow::datatypes::DataType; use arrow::datatypes::{Field, Schema}; use arrow_array::cast::AsArray; use bytes::Bytes; @@ -1959,6 +1961,7 @@ mod tests { range: None, extensions: None, statistics: None, + metadata_size_hint: None, }; assert_eq!(file.partition_values, ref_file.partition_values) }