Skip to content

Commit 62a95cf

Browse files
authored
test: use create or replace (#2140)
<!-- Thanks for opening a pull request! --> <!-- In the case this PR will resolve an issue, please replace ${GITHUB_ISSUE_ID} below with the actual Github issue id. --> <!-- Closes #${GITHUB_ISSUE_ID} --> # Rationale for this change Follow up to #2137 Remove all mentions of `CREATE OR REPLACE` issue, apache/iceberg#8756 # Are these changes tested? # Are there any user-facing changes? <!-- In the case of user-facing changes, please add the changelog label. -->
1 parent 0dd6e13 commit 62a95cf

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

dev/provision.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -273,13 +273,9 @@
273273
"""
274274
)
275275

276-
# There is an issue with CREATE OR REPLACE
277-
# https://github.com/apache/iceberg/issues/8756
278-
spark.sql(f"DROP TABLE IF EXISTS {catalog_name}.default.test_table_version")
279-
280276
spark.sql(
281277
f"""
282-
CREATE TABLE {catalog_name}.default.test_table_version (
278+
CREATE OR REPLACE TABLE {catalog_name}.default.test_table_version (
283279
dt date,
284280
number integer,
285281
letter string

0 commit comments

Comments
 (0)