You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takuya Ueshin (JIRA)" <ji...@apache.org> on 2018/01/18 05:58:00 UTC

[jira] [Comment Edited] (SPARK-23122) Deprecate register* for UDFs in SQLContext and Catalog in PySpark

    [ https://issues.apache.org/jira/browse/SPARK-23122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16330076#comment-16330076 ] 

Takuya Ueshin edited comment on SPARK-23122 at 1/18/18 5:57 AM:
----------------------------------------------------------------

Issue resolved by pull request 20288
[https://github.com/apache/spark/pull/20288|https://github.com/apache/spark/pull/20288]


was (Author: ueshin):
Issue resolved by pull request 20288
[https://github.com/apache/spark/pull/20288|https://github.com/apache/spark/pull/19247]

> Deprecate register* for UDFs in SQLContext and Catalog in PySpark
> -----------------------------------------------------------------
>
>                 Key: SPARK-23122
>                 URL: https://issues.apache.org/jira/browse/SPARK-23122
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark, SQL
>    Affects Versions: 2.3.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Major
>             Fix For: 2.3.0
>
>
> Seems we allow many other ways to register UDFs in SQL statements. Some are in {{SQLContext}} and some are in {{Catalog}}.
> These are also inconsistent with Java / Scala APIs. Seems we better deprecating them and put the logics into {{UDFRegistration}} ({{spark.udf.register*}}).
> Please see this discussion too - [https://github.com/apache/spark/pull/20217#issuecomment-357134926].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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