Skip to content

Commit

Permalink
Use fixed seed for test_from_json_struct_decimal (#10353)
Browse files Browse the repository at this point in the history
* use fixed seed for test_from_json_struct_decimal

* signoff

Signed-off-by: Andy Grove <andygrove@nvidia.com>

---------

Signed-off-by: Andy Grove <andygrove@nvidia.com>
  • Loading branch information
andygrove authored Feb 1, 2024
1 parent 6723a68 commit f433de9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration_tests/src/main/python/json_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ def test_from_json_struct_boolean(pattern):
conf={"spark.rapids.sql.expression.JsonToStructs": True})

@allow_non_gpu(*non_utc_allow)
@datagen_overrides(seed=0, reason='https://github.com/NVIDIA/spark-rapids/issues/10349')
def test_from_json_struct_decimal():
json_string_gen = StringGen(r'{ "a": "[+-]?([0-9]{0,5})?(\.[0-9]{0,2})?([eE][+-]?[0-9]{1,2})?" }') \
.with_special_pattern('', weight=50) \
Expand Down

0 comments on commit f433de9

Please sign in to comment.