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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: SQL
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: