Skip to content

Commit

Permalink
xfail for 3.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
mythrocks committed Dec 6, 2024
1 parent 2f9cdd6 commit c8c8f9d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions integration_tests/src/main/python/hive_delimited_text_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from enum import Enum
from marks import *
from pyspark.sql.types import *
from spark_session import is_spark_cdh, with_cpu_session
from spark_session import is_before_spark_330, is_spark_cdh, with_cpu_session

hive_text_enabled_conf = {"spark.rapids.sql.format.hive.text.enabled": True,
"spark.rapids.sql.format.hive.text.read.enabled": True}
Expand Down Expand Up @@ -522,7 +522,12 @@ def create_table_with_compressed_files(spark):
"https://github.com/NVIDIA/spark-rapids/pull/7628")
@approximate_float
@ignore_order(local=True)
@pytest.mark.parametrize('mode', [TableWriteMode.CTAS, TableWriteMode.CreateThenWrite])
@pytest.mark.parametrize('mode', [pytest.param(TableWriteMode.CTAS,
marks=pytest.mark.xfail(condition=is_before_spark_330(),
reason="Spark 3.2.x seems not to set a table's "
"serialization.format to 1, by default. "
"Other Spark versions seem fine.")),
TableWriteMode.CreateThenWrite])
@pytest.mark.parametrize('input_dir,schema,options', [
('hive-delim-text/simple-boolean-values', make_schema(BooleanType()), {}),
('hive-delim-text/simple-int-values', make_schema(ByteType()), {}),
Expand Down

0 comments on commit c8c8f9d

Please sign in to comment.