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

Implement UDFRegistration

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

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • Connect
    • None

    Description

      Reference file - https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/UDFRegistration.scala

      API to be implemented:

      • def register(name: String, udf: UserDefinedFunction): UserDefinedFunction
      • def register[RT: TypeTag](name: String, func: Function0[RT]): UserDefinedFunction
      • def register(name: String, f: UDF0[_], returnType: DataType): Unit

       

      We currently do not support UDAFs so the relevant UDAF APIs may be skipped as well as the python/pyspark (in the context of the scala client) related APIs.

      Attachments

        Activity

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

          People

            vicennial Venkata Sai Akhil Gudesa
            vicennial Venkata Sai Akhil Gudesa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment