[ https://issues.apache.org/jira/browse/SPARK-23080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326383#comment-16326383 ]
Apache Spark commented on SPARK-23080: -------------------------------------- User 'mgaido91' has created a pull request for this issue: https://github.com/apache/spark/pull/20271 > Improve error message for built-in functions > -------------------------------------------- > > Key: SPARK-23080 > URL: https://issues.apache.org/jira/browse/SPARK-23080 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.3.0 > Reporter: Marco Gaido > Priority: Trivial > > When a user puts the wrong number of parameters in a function, an > AnalysisException is thrown. If the function is a UDF, he user is told how > many parameters the function expected and how many he/she put. If the > function, instead, is a built-in one, no information about the number of > parameters expected and the actual one is provided. This can help in some > cases, to debug the errors (eg. bad quotes escaping may lead to a different > number of parameters than expected, etc. etc.) -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org