You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2015/04/21 19:55:59 UTC

[jira] [Closed] (DRILL-2254) When we use flatten on list within a list, drill returns null

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

Rahul Challapalli closed DRILL-2254.
------------------------------------

Verified the fix and moved the below tests into passing after manually verifying the baselines
Functional/Passing/flatten_operators/2rows/orderby19_DRILL-2254
Functional/Passing/flatten_operators/2rows/orderby21_DRILL-2254

> When we use flatten on list within a list, drill returns null
> -------------------------------------------------------------
>
>                 Key: DRILL-2254
>                 URL: https://issues.apache.org/jira/browse/DRILL-2254
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Rahul Challapalli
>            Assignee: Parth Chandra
>            Priority: Critical
>         Attachments: DRILL-2254.1.patch.txt
>
>
> git.commit.id.abbrev=6676f2d
> Applying flatten on a list within a list seems to be broken now. This was working prior to "02d51ddaad0e8940cf4a3ab1384b7fac31d482cb".
> {code}
> {
>   "id":1,
>   "lst_lst" : [[1,2,3,4,5],[2,3,4,5,6]]
> }
> {code}
> {code}
> select uid, flatten(lst_lst) from `data.json`;
> +------------+------------+
> |    uid     |   EXPR$1   |
> +------------+------------+
> | 1          | null       |
> | 1          | null       |
> {code}
> Marking this as critical since this was working earlier.



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