-
- Downloads
[SPARK-20416][SQL] Print UDF names in EXPLAIN
## What changes were proposed in this pull request? This pr added `withName` in `UserDefinedFunction` for printing UDF names in EXPLAIN ## How was this patch tested? Added tests in `UDFSuite`. Author: Takeshi Yamamuro <yamamuro@apache.org> Closes #17712 from maropu/SPARK-20416.
Showing
- mllib/src/main/scala/org/apache/spark/ml/feature/Bucketizer.scala 1 addition, 1 deletion...c/main/scala/org/apache/spark/ml/feature/Bucketizer.scala
- sql/core/src/main/scala/org/apache/spark/sql/UDFRegistration.scala 25 additions, 25 deletions...src/main/scala/org/apache/spark/sql/UDFRegistration.scala
- sql/core/src/main/scala/org/apache/spark/sql/expressions/UserDefinedFunction.scala 13 additions, 0 deletions...rg/apache/spark/sql/expressions/UserDefinedFunction.scala
- sql/core/src/test/scala/org/apache/spark/sql/UDFSuite.scala 7 additions, 5 deletionssql/core/src/test/scala/org/apache/spark/sql/UDFSuite.scala
This diff is collapsed.
Please register or sign in to comment