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

Mehant Baid commented on DRILL-2557:
------------------------------------

We should give a better error message that coalesce with no arguments is not 
supported. Marking this as minor.

> COALESCE function returns ArrayIndexOutOfBoundsException when no arguments 
> are passed in
> ----------------------------------------------------------------------------------------
>
>                 Key: DRILL-2557
>                 URL: https://issues.apache.org/jira/browse/DRILL-2557
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: 0.8.0
>            Reporter: Victoria Markman
>            Assignee: Mehant Baid
>             Fix For: 0.9.0
>
>
> {code}
> 0: jdbc:drill:schema=dfs> select coalesce() from j2;
> Query failed: ArrayIndexOutOfBoundsException: -1
> Error: exception while executing query: Failure while executing query. 
> (state=,code=0)
> {code}



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

Reply via email to