Skip to content

Commit

Permalink
Revert that for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Fokko committed Dec 9, 2024
1 parent 31f44fd commit 788b12d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dev/provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 788b12d

Please sign in to comment.