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

   ### What changes were proposed in this pull request?
   This PR refactors `CreateUserDefinedFunctionCommand` to extend from 
`UnaryRunnableCommand`, taking `child: LogicalPlan`.
   
   It follows up on #49126 (SPARK-48730) by removing the duplicate 
`CreateUserDefinedFunction` Catalyst logical plan from `v2Commands.scala` and 
unifying the command structure.
   
   ### Why are the changes needed?
   To simplify and unify the logical command abstractions for SQL UDFs 
introduced in #49126.
   
   ### Does this PR introduce any user-facing change?
   No.
   
   ### How was this patch tested?
   - Updated unit tests in `CreateSQLFunctionParserSuite`.


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