Skip to content

Commit 24d26f7

Browse files
Refresh table after Spark upgrades it to v3 in test_initial_default
1 parent 1d02a87 commit 24d26f7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/integration/test_reads.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,6 +1245,7 @@ def test_initial_default(catalog: Catalog, spark: SparkSession) -> None:
12451245

12461246
# Do the bump version through Spark, since PyIceberg does not support this (yet)
12471247
spark.sql(f"ALTER TABLE {identifier} SET TBLPROPERTIES('format-version'='3')")
1248+
tbl.refresh()
12481249

12491250
with tbl.update_schema() as upd:
12501251
upd.add_column("so_true", BooleanType(), required=False, default_value=True)

0 commit comments

Comments
 (0)