You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Amit Baghel (JIRA)" <ji...@apache.org> on 2017/01/19 09:56:26 UTC

[jira] [Created] (SPARK-19285) Java - Provide user-defined function of 0 arguments (UDF0)

Amit Baghel created SPARK-19285:
-----------------------------------

             Summary: Java - Provide user-defined function of 0 arguments (UDF0)
                 Key: SPARK-19285
                 URL: https://issues.apache.org/jira/browse/SPARK-19285
             Project: Spark
          Issue Type: Improvement
          Components: Java API
            Reporter: Amit Baghel
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org