panbingkun opened a new pull request, #43168:
URL: https://github.com/apache/spark/pull/43168

   ### What changes were proposed in this pull request?
   The pr aims to fix some UT in `pyspark.sql.functions` when 
SPARK_ANSI_SQL_MODE=true.
   
   ### Why are the changes needed?
   Make pyspark test happy.
   When Ansi workflow daily GA runs, the following error occurs, eg:
   https://github.com/apache/spark/actions/runs/6333367232/job/17202251325
   <img width="1011" alt="image" 
src="https://github.com/apache/spark/assets/15246973/c22fb8c4-8b87-46fd-85f2-51f4c1d8d13d";>
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   
   ### How was this patch tested?
   Manually test:
   ```
   python/run-tests --testnames 'pyspark.sql.functions'
   Running PySpark tests. Output is in 
/Users/panbingkun/Developer/spark/spark-community/python/unit-tests.log
   Will test against the following Python executables: ['python3.9']
   Will test the following Python tests: ['pyspark.sql.functions']
   python3.9 python_implementation is CPython
   python3.9 version is: Python 3.9.13
   Starting test(python3.9): pyspark.sql.functions (temp output: 
/Users/panbingkun/Developer/spark/spark-community/python/target/c8705d5c-d9f9-4bc5-babf-d3642736c70c/python3.9__pyspark.sql.functions__gcfwu3ik.log)
   Finished test(python3.9): pyspark.sql.functions (47s)
   Tests passed in 47 seconds
   
   ```
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to