You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Sean Hsuan-Yi Chu (JIRA)" <ji...@apache.org> on 2015/03/17 21:15:39 UTC

[jira] [Updated] (DRILL-2180) Star is not expanded when being used with flatten

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

Sean Hsuan-Yi Chu updated DRILL-2180:
-------------------------------------
    Attachment: DRILL-2180.1.patch

Patch Available

> Star is not expanded when being used with flatten
> -------------------------------------------------
>
>                 Key: DRILL-2180
>                 URL: https://issues.apache.org/jira/browse/DRILL-2180
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization
>            Reporter: Sean Hsuan-Yi Chu
>            Assignee: Sean Hsuan-Yi Chu
>            Priority: Critical
>             Fix For: 0.9.0
>
>         Attachments: DRILL-2180.1.patch
>
>
> For example,
> select *, "flatten(j.topping) tt " +
>               "from dfs_test.`%s` j "
> (using the same data set in DRILL-2012)
> *	tt
> null	{"id":"5001","type":"None"}
> null	{"id":"5002","type":"Glazed"}
> null	{"id":"5005","type":"Sugar"}
> null	{"id":"5007","type":"Powdered Sugar"}
> null	{"id":"5006","type":"Chocolate with Sprinkles"}
> null	{"id":"5003","type":"Chocolate"}
> null	{"id":"5004","type":"Maple"}
> Note that the first column is messed. 



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