Github user zero323 commented on the issue:

    https://github.com/apache/spark/pull/16534
  
    __Note__:
    
    We'll need a bit more work if we want to provide correct argument list for 
legacy python.
    
    ```
    Welcome to
          ____              __
         / __/__  ___ _____/ /__
        _\ \/ _ \/ _ `/ __/  '_/
       /__ / .__/\_,_/_/ /_/\_\   version 2.2.0-SNAPSHOT
          /_/
    
    Using Python version 2.7.11 (default, Dec  6 2015 18:08:32)
    SparkSession available as 'spark'.
    
    In [1]: from pyspark.sql.types import IntegerType
    
    In [2]: from pyspark.sql.functions import udf
    
    In [3]: f = udf(lambda x: x, IntegerType())
    
    In [4]: ?f
    Signature: f(*args)
    Docstring: SQL Type: IntegerType
    File:      ~/Workspace/spark/python/pyspark/sql/functions.py
    Type:      function
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to