holdenk commented on code in PR #56327:
URL: https://github.com/apache/spark/pull/56327#discussion_r3477186834


##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -5002,6 +5002,18 @@
     ],
     "sqlState" : "38000"
   },
+  "INVALID_UDF_PARAMETER_PLACEHOLDER" : {
+    "message" : [
+      "Invalid Python UDF transpiled-expression parameter placeholder: 
<placeholder>. Placeholders must be of the form `_udf_param_N` where N is a 
non-negative integer index into the UDF's positional arguments. This is an 
internal error in the Python UDF transpiler."
+    ],
+    "sqlState" : "42000"

Review Comment:
   I think we could say it is since it's used for invalid SQL parsing and these 
would be those failures. They aren't generally user visible anyways since we 
silently swallow all of the errors during UDF transpilation and swap back to 
regular UDF execution.



-- 
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