This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-go.git
The following commit(s) were added to refs/heads/main by this push:
new 15b386b test: use `create or replace` (#466)
15b386b is described below
commit 15b386b043bd7ea44cb818da40c70b287502dc26
Author: Kevin Liu <[email protected]>
AuthorDate: Tue Jun 24 03:46:31 2025 -0400
test: use `create or replace` (#466)
Remove all mentions of `CREATE OR REPLACE` issue,
https://github.com/apache/iceberg/issues/8756
Similar to https://github.com/apache/iceberg-python/pull/2137 and
https://github.com/apache/iceberg-python/pull/2140
---
internal/recipe/provision.py | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/internal/recipe/provision.py b/internal/recipe/provision.py
index 77906c1..0ecdf91 100644
--- a/internal/recipe/provision.py
+++ b/internal/recipe/provision.py
@@ -248,13 +248,9 @@ for catalog_name, catalog in catalogs.items():
"""
)
- # There is an issue with CREATE OR REPLACE
- # https://github.com/apache/iceberg/issues/8756
- spark.sql(f"DROP TABLE IF EXISTS default.test_table_version")
-
spark.sql(
f"""
- CREATE TABLE default.test_table_version (
+ CREATE OR REPLACE TABLE default.test_table_version (
dt date,
number integer,
letter string
@@ -376,4 +372,4 @@ for catalog_name, catalog in catalogs.items():
INSERT INTO default.test_table_snapshot_operations
VALUES (4)
"""
- )
\ No newline at end of file
+ )