Rahul Challapalli created DRILL-2217: ----------------------------------------
Summary: 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: Daniel Barclay (Drill/MapR) Priority: Minor 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)