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

   ### What changes were proposed in this pull request?
   
   This PR backports #60642 to branch-4.x. It reverts the opt-in in-process 
Python UDF execution added by SPARK-59718 (#58978), together with the two 
follow-ups that only touch it (SPARK-61280 and SPARK-61767).
   
   The cherry-pick has one conflict, in the root `pom.xml`: master has since 
upgraded `ammonite.version` to 3.0.9, while branch-4.x is still on 3.0.8. The 
conflict is resolved by removing `jep.version` and the JEP managed dependency, 
and keeping `ammonite.version` at 3.0.8. Everything else applies as on master.
   
   The same commit cherry-picks cleanly onto branch-4.4 with the same result, 
so this PR should also be merged to branch-4.4.
   
   ### Why are the changes needed?
   
   See #60642. After internal discussion, we concluded that this feature is too 
restrictive to be broadly useful and easy for users to confuse with the 
existing Arrow Python UDFs. branch-4.x and branch-4.4 both contain it, so 
without this backport it would ship in 4.4.0.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No for released versions. SPARK-59718 has not been released; this PR removes 
the `pyspark.inprocess.inprocess_udf` API and its configurations from the 
unreleased branch-4.x and branch-4.4.
   
   ### How was this patch tested?
   
   Existing tests. Compiled the affected modules on JDK 17 and ran scalastyle, 
plus `CollapseProjectSuite`, `ConvertToCatalystSuite`, 
`ExtractPythonUDFsSuite`, `PythonUDFSuite`, `CachedTableSuite` and 
`*EvalPythonExecSuite`.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Claude Opus 5.5)
   
   This pull request and its description were written by Isaac.
   


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