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

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

Rahul Challapalli created DRILL-2254:
----------------------------------------

             Summary: 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: Hanifi Gunes
            Priority: Critical




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)