You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/09/17 23:22:04 UTC

[jira] [Commented] (SPARK-10671) Calling a UDF with insufficient number of input arguments should throw an analysis error

    [ https://issues.apache.org/jira/browse/SPARK-10671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14804532#comment-14804532 ] 

Apache Spark commented on SPARK-10671:
--------------------------------------

User 'yhuai' has created a pull request for this issue:
https://github.com/apache/spark/pull/8800

> Calling a UDF with insufficient number of input arguments should throw an analysis error
> ----------------------------------------------------------------------------------------
>
>                 Key: SPARK-10671
>                 URL: https://issues.apache.org/jira/browse/SPARK-10671
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Yin Huai
>            Assignee: Yin Huai
>
> {code}
> import org.apache.spark.sql.functions._
> Seq((1,2)).toDF("a", "b").select(callUDF("percentile", $"a"))
> {code}
> This should throws an Analysis Exception.



--
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