Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-23122

Deprecate register* for UDFs in SQLContext and Catalog in PySpark

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.3.0
    • PySpark, SQL
    • None

    Description

      Deprecate register* for UDFs in SQLContext and Catalog in PySpark

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gurwls223 Hyukjin Kwon
            gurwls223 Hyukjin Kwon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment