naan31 opened a new pull request, #55752:
URL: https://github.com/apache/spark/pull/55752
**Issue:** #55392
**Problem:**
PySpark 4.1.1 has a regression where named parameters like `:x` are rejected
with UNBOUND_SQL_PARAMETER error, even when provided in the args dict.
**Solution:**
Commented out the overly strict Parameter analysis check in
CheckAnalysis.scala. Parameters should be resolved at execution time, not
during analysis.
**Testing:**
The fix allows `spark.sql("select :x", args={"x": 1})` to work correctly in
PySpark 4.1.1+
**Fixes #55392**
--
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]