You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2015/04/13 21:19:14 UTC

[jira] [Commented] (DRILL-2557) COALESCE function returns ArrayIndexOutOfBoundsException when no arguments are passed in

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