drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanifi Gunes (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-3031) Project missing a column (empty repeated type)
Date Wed, 08 Jul 2015 20:26:04 GMT

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

Mime
View raw message