[
https://issues.apache.org/jira/browse/DRILL-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200750#comment-14200750
]
Hanifi Gunes commented on DRILL-1646:
-------------------------------------
I believe this behavior is known and expected (at least for now) We cannot
allocate underlying vector without knowing the explicit element type.
> 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: Bug
> 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)