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/05/06 03:29:00 UTC

[jira] [Closed] (DRILL-1665) Flatten operator reports incorrect results when the repeated map has around 100 records or more

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

Rahul Challapalli closed DRILL-1665.
------------------------------------

Verified and added the below testcase

Functional/Passing/json_kvgenflatten/flatten/flatten_DRILL-1665.q

> Flatten operator reports incorrect results when the repeated map has around 100 records or more
> -----------------------------------------------------------------------------------------------
>
>                 Key: DRILL-1665
>                 URL: https://issues.apache.org/jira/browse/DRILL-1665
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill, Storage - JSON
>            Reporter: Rahul Challapalli
>             Fix For: 0.7.0
>
>         Attachments: array-length-100.json
>
>
> git.commit.id.abbrev=60aa446
> I ran the below test against the private branch of Jason which has some patches for bugs related to flatten which are not yet merged into the master.
> When we run the flatten operator on a record which contains 100 maps in a repeated type, the output is only showing 41 records. However everything works fine when repeated type contains only 50 records.
> Below is the query that I used
> {code}
> select id, flatten(evnts) from `json_kvgenflatten/array-length-100.json`;
> ...
> ...
> 40 rows selected (0.2 seconds)
> {code}
> I attached the dataset. Let me know if you have any questions.



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