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 2014/11/12 19:23:33 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14208392#comment-14208392 ]
Rahul Challapalli commented on DRILL-1665:
------------------------------------------
Verified this with the latest master and the fix looks good
> 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
> 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)