Skip to content

Commit d2022d7

Browse files
committed
fix a db test failure
Signed-off-by: Firestarman <firestarmanllc@gmail.com>
1 parent 33c1a59 commit d2022d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

integration_tests/src/main/python/csv_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,8 +708,8 @@ def test_read_case_col_name(spark_tmp_path, spark_tmp_table_factory, read_func,
708708
def test_csv_read_gbk_encoded_data(std_input_path):
709709
# Conf does not work before 4.0.0, so verify even setting to false it should still work.
710710
legacy_charset = "false"
711-
if is_spark_400_or_later() or is_databricks143_or_later():
712-
# true from Spark 4.0.0 or DB 143 to pass the test for GBK.
711+
if is_spark_400_or_later() or is_databricks_runtime():
712+
# true from Spark 4.0.0 or DB to pass the test for GBK.
713713
# We can not test the "GBK-with-false" case because Spark will fail the
714714
# current app before running into the GPU world.
715715
legacy_charset = "true"

0 commit comments

Comments
 (0)