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

   ### What changes were proposed in this pull request?
   In the PR, I propose to assign the name `NON_FOLDABLE_ARGUMENT` to the 
legacy error class `_LEGACY_ERROR_TEMP_1100`, and improve the error message 
format: make it less restrictive.
   
   ### Why are the changes needed?
   1. To don't confuse users by slightly restrictive error message about 
literals.
   2. To assign proper name as a part of activity in SPARK-37935
   
   ### Does this PR introduce _any_ user-facing change?
   No. Only if user's code depends on error class name and message parameters.
   
   ### How was this patch tested?
   By running the modified and affected tests:
   ```
   $ build/sbt "test:testOnly *.StringFunctionsSuite"
   $ PYSPARK_PYTHON=python3 build/sbt "sql/testOnly 
org.apache.spark.sql.SQLQueryTestSuite"
   $ build/sbt "core/testOnly *SparkThrowableSuite"
   ```
   
   ### 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