Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/20900
  
    to be clear, I think both functions below
    
    ```python
    class F(object):
        def __call__(...):
            ...
    
    func = F()
    ```
    
    ```python
    def naive_func(a, b):
        ...
    
    func = partial(naive_func, a=1)
    ```
    
    should work woth Pandas UDF but seems not working given my test 
https://github.com/apache/spark/pull/20900#issuecomment-375949480


---

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

Reply via email to