Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions integration_tests/src/main/python/csv_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,8 @@ def test_read_case_col_name(spark_tmp_path, spark_tmp_table_factory, read_func,
def test_csv_read_gbk_encoded_data(std_input_path):
# Conf does not work before 4.0.0, so verify even setting to false it should still work.
legacy_charset = "false"
if is_spark_400_or_later():
# true from Spark 4.0.0 to pass the test for GBK.
if is_spark_400_or_later() or is_databricks_runtime():
# true from Spark 4.0.0 or DB runtimes to pass the test for GBK.
# We can not test the "GBK-with-false" case because Spark will fail the
# current app before running into the GPU world.
legacy_charset = "true"
Expand Down