Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21383#discussion_r191619371
  
    --- Diff: python/pyspark/util.py ---
    @@ -55,7 +55,9 @@ def _get_argspec(f):
         """
         # `getargspec` is deprecated since python3.0 (incompatible with 
function annotations).
         # See SPARK-23569.
    -    if sys.version_info[0] < 3:
    +    if hasattr(f, '_argspec'):
    +        argspec = f._argspec
    --- End diff --
    
    @e-dorigatti, sorry last comment. Shall we add a short note that we will 
reach here when Pandas UDFs only for now? 


---

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

Reply via email to