drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanifi Gunes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1646) Drill cannot handle empty array/list types in JSON documents
Date Thu, 06 Nov 2014 19:38:34 GMT

    [ 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)

Mime
View raw message