Skip to content

Commit

Permalink
Fixed Failing tests in arithmetic_ops_tests for Spark 4.0.0 [databric…
Browse files Browse the repository at this point in the history
…ks] (#11044)

* Fixed arithmetic_ops_tests

* Signing off

Signed-off-by: Raza Jafri <rjafri@nvidia.com>

* Added a mechanism to add ansi mode per test

* Reverted unnecessary change to spark_init_internal.py

* Corrected the year in the licence

* Only set ansi conf to false when ansi_mode_disabled is set

* Addressed review comments

* Fixed the method name

* Update integration_tests/src/main/python/conftest.py

This handles cases like `cache_test.py` which should run with the default conf for `spark.sql.ansi.enabled`.

---------

Signed-off-by: Raza Jafri <rjafri@nvidia.com>
Co-authored-by: MithunR <mythrocks@gmail.com>
  • Loading branch information
razajafri and mythrocks authored Jun 25, 2024
1 parent 18ec4b2 commit 86a905a
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 23 deletions.
Loading

0 comments on commit 86a905a

Please # to comment.