From 62d904567e014d7c07883d7f200f616a05fcf507 Mon Sep 17 00:00:00 2001 From: Nghia Truong Date: Mon, 14 Oct 2024 21:13:28 -0700 Subject: [PATCH] Update test Signed-off-by: Nghia Truong --- integration_tests/src/main/python/json_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_tests/src/main/python/json_test.py b/integration_tests/src/main/python/json_test.py index c0d5e65cf68..4ed627a72fc 100644 --- a/integration_tests/src/main/python/json_test.py +++ b/integration_tests/src/main/python/json_test.py @@ -1457,7 +1457,7 @@ def test_spark_from_json_invalid_json(): @allow_non_gpu(*non_utc_allow) def test_from_json_input_wrapped_in_whitespaces(): - json_string_gen = StringGen(r'[ \r\n\t]{0,5}({"key":( |\r|\n|\t|)"[A-z]{0,5}"}|null|invalid|)[ \r\n\t]{0,5}') + json_string_gen = StringGen(r'[ \r\n\t]{0,5}({"key":( |\r|\n|\t|)"[A-Za-z]{0,5}"}|null|invalid|)[ \r\n\t]{0,5}') assert_gpu_and_cpu_are_equal_collect( lambda spark : unary_op_df(spark, json_string_gen) \ .select(f.from_json('a', 'struct')),