Rahul Challapalli created DRILL-2834: ----------------------------------------
Summary: Applying multiple flattens after a join results in an NPE Key: DRILL-2834 URL: https://issues.apache.org/jira/browse/DRILL-2834 Project: Apache Drill Issue Type: Bug Components: Execution - Relational Operators Reporter: Rahul Challapalli Assignee: Chris Westin Attachments: data.json, error.log git.commit.id.abbrev=5cd36c5 The below query fails : {code} select flatten(t1.lst_lst), flatten(t1.events) from `data.json` t1 inner join `data.json` t2 on t1.uid = t2.uid; Query failed: SYSTEM ERROR: null Fragment 0:0 [a27e431d-a598-4ec6-86b8-eb91d5d54161 on qa-node190.qa.lab:31010] {code} However if we only apply a single flatten things work as expected. I attached the error logs and the data file. Let me know if you need anything more -- This message was sent by Atlassian JIRA (v6.3.4#6332)