[ 
https://issues.apache.org/jira/browse/DRILL-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rahul Challapalli updated DRILL-2217:
-------------------------------------
    Description: 
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}

I also attached the error from the logs

  was:
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

       Priority: Major  (was: Minor)
        Summary: Trying to flatten an empty list should return an empty result  
(was: Trying to flatten an empty list should return a "Functionality not 
supported" message)

> Trying to flatten an empty list should return an empty result
> -------------------------------------------------------------
>
>                 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
>         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}
> I also attached the error from the logs



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

Reply via email to