AngersZhuuuu opened a new pull request #30973: URL: https://github.com/apache/spark/pull/30973
### What changes were proposed in this pull request? In hive we always use ``` add file script.py; select transform(col1, col2, ..) using 'script.py' as (col1, col2, ...) from ... ``` Since in spark we wrapper script command with `/bash/bin -c`, in this case we will throw `script.py command not found`. This pr add a conf `spark.sql.scriptTransformation.commandWrapper` to support user-defined wrapper to support different ### Why are the changes needed? Support more flexible use case ### Does this PR introduce _any_ user-facing change? User can define `spark.sql.scriptTransformation.commandWrapper` to support special script command wrapper. ### How was this patch tested? UT ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
