From 0760efcbc69fbb69a2c75f0af60332fb63a3ffd6 Mon Sep 17 00:00:00 2001 From: Chewing Glass Date: Mon, 12 Jun 2023 10:24:49 -0500 Subject: [PATCH] Fix for date partition --- rust/src/operations/transaction/state.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/src/operations/transaction/state.rs b/rust/src/operations/transaction/state.rs index cb1b336c3c..65e24b9353 100644 --- a/rust/src/operations/transaction/state.rs +++ b/rust/src/operations/transaction/state.rs @@ -52,6 +52,7 @@ impl DeltaTableState { // Dictionary encoding boolean types does not yield benefits // https://github.com/apache/arrow-datafusion/pull/5545#issuecomment-1526917997 DataType::Boolean => field.data_type().clone(), + DataType::Date32 => field.data_type().clone(), _ => wrap_partition_type_in_dict(field.data_type().clone()), } } else {