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

Venkata krishnan Sowrirajan commented on DRILL-1646:
----------------------------------------------------

Just to understand, the enhancement is to give a better error message for this 
kind of situations?

> Drill cannot handle empty array/list types in JSON documents
> ------------------------------------------------------------
>
>                 Key: DRILL-1646
>                 URL: https://issues.apache.org/jira/browse/DRILL-1646
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Venkata krishnan Sowrirajan
>
> To reproduce
> JSON sample data:
> {
> "a":[]
> }
> Problem: Empty array
> Exception:
> java.lang.IllegalStateException: Incoming batch has an empty schema. This is 
> not allowed



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

Reply via email to