hvanhovell commented on code in PR #48120:
URL: https://github.com/apache/spark/pull/48120#discussion_r1820937746


##########
sql/core/src/main/scala/org/apache/spark/sql/UDFRegistration.scala:
##########
@@ -145,9 +147,11 @@ class UDFRegistration private[sql] (functionRegistry: 
FunctionRegistry)
    * @param returnDataType return type of udf. If it is null, spark would try 
to infer
    *                       via reflection.
    */
-  private[sql] def registerJava(name: String, className: String, 
returnDataType: DataType): Unit = {
+  def registerJava(name: String, className: String, returnDataType: DataType): 
Unit = {

Review Comment:
   Also we need to add this to the UDFRegistration interface! We can add 
connect support later.



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