Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-41548][CONNECT][TESTS] Disable ANSI mode in pyspark.sql.tests.…
…connect.test_connect_functions ### What changes were proposed in this pull request? This PR proposes to disable ANSI mode in `pyspark.sql.tests.connect.test_connect_functions` temporarily. This PR is sort of a followup of #38946 and #39071 ### Why are the changes needed? There are failures in `test_connect_functions` with ANSI mode on (https://github.com/apache/spark/actions/runs/3709431687/jobs/6288067223). I tried to fix but they are tricky to fix because Spark Connect does not respect the runtime configuration at the server side. It is also tricky to fix the test to pass in both ANSI mode on and off. Therefore, it disables temporarily to make other tests pass. Note that PySpark tests stop in the middle if one fails. ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? Manually verified that: ```bash SPARK_ANSI_SQL_MODE=true ./python/run-tests --modules pyspark-connect -p 1 ``` passes fine. Closes #39092 from HyukjinKwon/SPARK-41548. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
- Loading branch information