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

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

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

Hanifi Gunes commented on DRILL-3031:
-------------------------------------

I am not sure if this is an issue. 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. I will mark this a Not-A-Problem please re-open if you think this issue is valid.

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