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

[jira] [Commented] (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=16328250#comment-16328250 ] 

Apache Spark commented on SPARK-23122:
--------------------------------------

User 'HyukjinKwon' has created a pull request for this issue:
https://github.com/apache/spark/pull/20288

> 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
>            Priority: Major
>
> 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