From 2b23c10046b38a9d521c8328ffa49675d309ed24 Mon Sep 17 00:00:00 2001 From: Sergei Grebnov Date: Tue, 30 Sep 2025 22:41:21 -0700 Subject: [PATCH] Improve IcebergCommitExec to correctly specify properties schema --- crates/integrations/datafusion/src/physical_plan/commit.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crates/integrations/datafusion/src/physical_plan/commit.rs b/crates/integrations/datafusion/src/physical_plan/commit.rs index 9e178efc2..187fe8d86 100644 --- a/crates/integrations/datafusion/src/physical_plan/commit.rs +++ b/crates/integrations/datafusion/src/physical_plan/commit.rs @@ -57,14 +57,17 @@ impl IcebergCommitExec { input: Arc, schema: ArrowSchemaRef, ) -> Self { - let plan_properties = Self::compute_properties(schema.clone()); + + let count_schema = Self::make_count_schema(); + + let plan_properties = Self::compute_properties(Arc::clone(&count_schema)); Self { table, catalog, input, schema, - count_schema: Self::make_count_schema(), + count_schema, plan_properties, } }