Rahul Challapalli created DRILL-1665:
----------------------------------------
Summary: 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
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)