spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liuxian (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-20569) In spark-sql,Some functions can execute successfully, when the number of input parameter is wrong
Date Wed, 03 May 2017 10:17:04 GMT

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

liuxian commented on SPARK-20569:
---------------------------------

ok,thanks Umesh Chaudhary 

> In spark-sql,Some functions can execute successfully, when the  number of input parameter
is wrong
> --------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-20569
>                 URL: https://issues.apache.org/jira/browse/SPARK-20569
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message