Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/20217
  
    Yup, I am looking at it. `def register(name: String, udf: 
UserDefinedFunction)` and `def register[RT: TypeTag](name: String, func: 
Function0[RT])`, etc.
    
    The usual way to resemble overloading in Java/Scala is one Python function 
having default values + type checking / conversion, up to my knowledge. Here is 
what I meant by divergence as we have been extending Python API supports for 
different types in this way so far.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to