From 788b12d0105e97cb9a2277d48e7d330d95daa83c Mon Sep 17 00:00:00 2001 From: Fokko Date: Mon, 9 Dec 2024 15:25:14 +0100 Subject: [PATCH] Revert that for now --- dev/provision.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev/provision.py b/dev/provision.py index 6d98ce3ff6..34e5e9159c 100644 --- a/dev/provision.py +++ b/dev/provision.py @@ -103,6 +103,10 @@ """ ) + # Partitioning is not really needed, but there is a bug: + # https://github.com/apache/iceberg/pull/7685 + spark.sql(f"ALTER TABLE {catalog_name}.default.test_positional_mor_deletes ADD PARTITION FIELD years(dt) AS dt_years") + spark.sql( f""" CREATE OR REPLACE TABLE {catalog_name}.default.test_positional_mor_deletes ( @@ -164,6 +168,10 @@ """ ) + # Partitioning is not really needed, but there is a bug: + # https://github.com/apache/iceberg/pull/7685 + spark.sql(f"ALTER TABLE {catalog_name}.default.test_positional_mor_double_deletes ADD PARTITION FIELD years(dt) AS dt_years") + spark.sql( f""" INSERT INTO {catalog_name}.default.test_positional_mor_double_deletes