@@ -30,7 +30,7 @@ def test_conflict_delete_delete(
3030 spark : SparkSession , session_catalog : Catalog , arrow_table_with_null : pa .Table , format_version : int
3131) -> None :
3232 identifier = "default.test_conflict"
33- tbl1 = _create_table (session_catalog , identifier , {"format-version" : "1" }, [arrow_table_with_null ])
33+ tbl1 = _create_table (session_catalog , identifier , {"format-version" : format_version }, [arrow_table_with_null ])
3434 tbl2 = session_catalog .load_table (identifier )
3535
3636 tbl1 .delete ("string == 'z'" )
@@ -46,7 +46,7 @@ def test_conflict_delete_append(
4646 spark : SparkSession , session_catalog : Catalog , arrow_table_with_null : pa .Table , format_version : int
4747) -> None :
4848 identifier = "default.test_conflict"
49- tbl1 = _create_table (session_catalog , identifier , {"format-version" : "1" }, [arrow_table_with_null ])
49+ tbl1 = _create_table (session_catalog , identifier , {"format-version" : format_version }, [arrow_table_with_null ])
5050 tbl2 = session_catalog .load_table (identifier )
5151
5252 # This is allowed
@@ -63,7 +63,7 @@ def test_conflict_append_delete(
6363 spark : SparkSession , session_catalog : Catalog , arrow_table_with_null : pa .Table , format_version : int
6464) -> None :
6565 identifier = "default.test_conflict"
66- tbl1 = _create_table (session_catalog , identifier , {"format-version" : "1" }, [arrow_table_with_null ])
66+ tbl1 = _create_table (session_catalog , identifier , {"format-version" : format_version }, [arrow_table_with_null ])
6767 tbl2 = session_catalog .load_table (identifier )
6868
6969 tbl1 .delete ("string == 'z'" )
@@ -79,7 +79,7 @@ def test_conflict_append_append(
7979 spark : SparkSession , session_catalog : Catalog , arrow_table_with_null : pa .Table , format_version : int
8080) -> None :
8181 identifier = "default.test_conflict"
82- tbl1 = _create_table (session_catalog , identifier , {"format-version" : "1" }, [arrow_table_with_null ])
82+ tbl1 = _create_table (session_catalog , identifier , {"format-version" : format_version }, [arrow_table_with_null ])
8383 tbl2 = session_catalog .load_table (identifier )
8484
8585 tbl1 .append (arrow_table_with_null )
0 commit comments