spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-11860) Invalid argument specification for registerFunction [Python]
Date Wed, 25 Nov 2015 13:51:11 GMT

     [ https://issues.apache.org/jira/browse/SPARK-11860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Owen updated SPARK-11860:
------------------------------
    Priority: Trivial  (was: Minor)

> Invalid argument specification for registerFunction [Python]
> ------------------------------------------------------------
>
>                 Key: SPARK-11860
>                 URL: https://issues.apache.org/jira/browse/SPARK-11860
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation, PySpark
>    Affects Versions: 1.5.2
>            Reporter: Tristan
>            Assignee: Jeff Zhang
>            Priority: Trivial
>             Fix For: 1.6.0
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> https://github.com/apache/spark/blob/branch-1.5/python/pyspark/sql/context.py#L171-L178
> Documentation for SQLContext.registerFunction specifies a lambda function as input. This
is false (it works fine with non-lambda functions). I believe this is a typo based on the
presence of 'samplingRatio' in the parameter docs:
> https://github.com/apache/spark/blob/branch-1.5/python/pyspark/sql/context.py#L178



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message