You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Hanifi Gunes (JIRA)" <ji...@apache.org> on 2015/07/08 22:26:04 UTC

[jira] [Resolved] (DRILL-3031) Project missing a column (empty repeated type)

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

Hanifi Gunes resolved DRILL-3031.
---------------------------------
    Resolution: Not A Problem

Drill way of handling list types is lazy meaning that we don't materialize a column until we find out a scalar type within the list.

> Project missing a column (empty repeated type)
> ----------------------------------------------
>
>                 Key: DRILL-3031
>                 URL: https://issues.apache.org/jira/browse/DRILL-3031
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>            Reporter: Rahul Challapalli
>            Assignee: Hanifi Gunes
>             Fix For: 1.2.0
>
>
> git.commit.id.abbrev=4689468
> Data :
> {code}
> {"id":1, "arr":[]}
> {code}
> Query :
> {code}
> 0: jdbc:drill:schema=dfs_eea> select * from `file1.json`;
> +------------+
> |     id     |
> +------------+
> | 1          |
> +------------+
> 1 row selected (0.131 seconds)
> {code}
> Drill did not report the second column here.



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