[
https://issues.apache.org/jira/browse/SPARK-20569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998690#comment-15998690
]
Apache Spark commented on SPARK-20569:
--------------------------------------
User 'cloud-fan' has created a pull request for this issue:
https://github.com/apache/spark/pull/17876
> RuntimeReplaceable functions accept invalid third parameter
> -----------------------------------------------------------
>
> Key: SPARK-20569
> URL: https://issues.apache.org/jira/browse/SPARK-20569
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.1.0, 2.2.0
> Reporter: liuxian
> Priority: Trivial
>
> >select Nvl(null,'1',3);
> >3
> The function of "Nvl" has Only two input parameters,so, when input three
> parameters, i think it should notice that:"Error in query: Invalid number of
> arguments for function nvl".
> Such as "nvl2", "nullIf","IfNull",these have a similar problem
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]