Skip to content

Commit 903d3f0

Browse files
committed
xfail some low shuffle merge tests with cdf on databricks
1 parent 8c79a0c commit 903d3f0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

integration_tests/src/main/python/delta_lake_low_shuffle_merge_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def test_delta_merge_not_match_insert_only(spark_tmp_path, spark_tmp_table_facto
9393
(range(5), range(5)), # full delete of target
9494
(range(10), range(20, 30)) # no-op delete
9595
], ids=idfn)
96-
@pytest.mark.parametrize("use_cdf", [True, False], ids=idfn)
96+
@pytest.mark.parametrize("use_cdf", [pytest.param(True, marks=pytest.mark.xfail(reason="https://github.com/NVIDIA/spark-rapids/issues/13552")), False], ids=idfn)
9797
@pytest.mark.parametrize("partition_columns", [None, ["a"], ["b"], ["a", "b"]], ids=idfn)
9898
@pytest.mark.parametrize("num_slices", num_slices_to_test, ids=idfn)
9999
def test_delta_merge_match_delete_only(spark_tmp_path, spark_tmp_table_factory, table_ranges,
@@ -111,7 +111,7 @@ def test_delta_merge_match_delete_only(spark_tmp_path, spark_tmp_table_factory,
111111
(not is_databricks_runtime() and spark_version().startswith("3.4"))),
112112
reason="Delta Lake Low Shuffle Merge only supports Databricks 13.3 or OSS "
113113
"delta 2.4")
114-
@pytest.mark.parametrize("use_cdf", [True, False], ids=idfn)
114+
@pytest.mark.parametrize("use_cdf", [pytest.param(True, marks=pytest.mark.xfail(reason="https://github.com/NVIDIA/spark-rapids/issues/13552")), False], ids=idfn)
115115
@pytest.mark.parametrize("num_slices", num_slices_to_test, ids=idfn)
116116
def test_delta_merge_standard_upsert(spark_tmp_path, spark_tmp_table_factory, use_cdf, num_slices):
117117
do_test_delta_merge_standard_upsert(spark_tmp_path, spark_tmp_table_factory, use_cdf, False,
@@ -126,7 +126,7 @@ def test_delta_merge_standard_upsert(spark_tmp_path, spark_tmp_table_factory, us
126126
(not is_databricks_runtime() and spark_version().startswith("3.4"))),
127127
reason="Delta Lake Low Shuffle Merge only supports Databricks 13.3 or OSS "
128128
"delta 2.4")
129-
@pytest.mark.parametrize("use_cdf", [True, False], ids=idfn)
129+
@pytest.mark.parametrize("use_cdf", [pytest.param(True, marks=pytest.mark.xfail(reason="https://github.com/NVIDIA/spark-rapids/issues/13552")), False], ids=idfn)
130130
@pytest.mark.parametrize("merge_sql", [
131131
"MERGE INTO {dest_table} d USING {src_table} s ON d.a == s.a" \
132132
" WHEN MATCHED AND s.b > 'q' THEN UPDATE SET d.a = s.a / 2, d.b = s.b" \
@@ -173,7 +173,7 @@ def test_delta_merge_upsert_with_unmatchable_match_condition(spark_tmp_path, spa
173173
(not is_databricks_runtime() and spark_version().startswith("3.4"))),
174174
reason="Delta Lake Low Shuffle Merge only supports Databricks 13.3 or OSS "
175175
"delta 2.4")
176-
@pytest.mark.parametrize("use_cdf", [True, False], ids=idfn)
176+
@pytest.mark.parametrize("use_cdf", [pytest.param(True, marks=pytest.mark.xfail(reason="https://github.com/NVIDIA/spark-rapids/issues/13552")), False], ids=idfn)
177177
def test_delta_merge_update_with_aggregation(spark_tmp_path, spark_tmp_table_factory, use_cdf):
178178
do_test_delta_merge_update_with_aggregation(spark_tmp_path, spark_tmp_table_factory, use_cdf, False,
179179
delta_merge_enabled_conf)

0 commit comments

Comments
 (0)