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

Java - Provide user-defined function of 0 arguments (UDF0)

    XMLWordPrintableJSON

Details

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

    Description

      I need to implement zero argument UDF but Spark java api doesn't provide UDF0.

      https://github.com/apache/spark/tree/master/sql/core/src/main/java/org/apache/spark/sql/api/java

      For workaround I am creating UDF1 with one argument and not using this argument.

      Attachments

        Activity

          People

            smilegator Xiao Li
            baghelamit Amit Baghel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: