You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jason Altekruse (JIRA)" <ji...@apache.org> on 2015/02/12 05:40:13 UTC

[jira] [Commented] (DRILL-2217) Trying to flatten an empty list should return a "Functionality not supported" message

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

Jason Altekruse commented on DRILL-2217:
----------------------------------------

This should be supported, and produce zero output rows. Will debug the flatten operation to find what is causing the error.

> Trying to flatten an empty list should return a "Functionality not supported" message
> -------------------------------------------------------------------------------------
>
>                 Key: DRILL-2217
>                 URL: https://issues.apache.org/jira/browse/DRILL-2217
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Rahul Challapalli
>            Assignee: Jason Altekruse
>            Priority: Minor
>         Attachments: error.log
>
>
> git.commit.id.abbrev=3d863b5
> Data Set :
> {code}
> {"empty":[[],[[]]]}
> {code}
> Query :
> {code}
> select flatten(empty) from `data1.json`;
> Query failed: RemoteRpcException: Failure while running fragment.[ 1b3123d9-92bc-45d5-bef8-b5f1be9def07 on qa-node191.qa.lab:31010 ]
> [ 1b3123d9-92bc-45d5-bef8-b5f1be9def07 on qa-node191.qa.lab:31010 ]
> {code}
> This error currently does not indicate as to why the query failed. We should mention that it is not supported.
> I also attached the error from the logs



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