[
https://issues.apache.org/jira/browse/DRILL-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rahul Challapalli updated DRILL-1665:
-------------------------------------
Description:
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.
was:
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 the run the flatten operator on a record which contains 100 maps in a
repeated type, the output os 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 id you have any questions.
> 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
> Assignee: Jason Altekruse
> 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)