Rahul Challapalli created DRILL-1759: ----------------------------------------
Summary: Flatten : When the item to be flattened contains a repeated map, we are loosing some data Key: DRILL-1759 URL: https://issues.apache.org/jira/browse/DRILL-1759 Project: Apache Drill Issue Type: Bug Components: Functions - Drill, Storage - JSON, Storage - Parquet Reporter: Rahul Challapalli Priority: Critical git.commit.id.abbrev=108d29f Dataset : {code} { "rm": [ {"map": [{ "a": "foo"}]}]} {code} When I try to flatten 'rm' we are losing the contents of 'map' {code} select flatten(rm) from `json_kvgenflatten/nested1.json`; +------------+ | EXPR$0 | +------------+ | {"map":[]} | +------------+ {code} This behavior can also be replicated on a parquet dataset as well. Let me know if you need anything else. -- This message was sent by Atlassian JIRA (v6.3.4#6332)