Return-Path: X-Original-To: apmail-drill-dev-archive@www.apache.org Delivered-To: apmail-drill-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9CE5417A66 for ; Tue, 21 Apr 2015 01:05:04 +0000 (UTC) Received: (qmail 8473 invoked by uid 500); 21 Apr 2015 01:05:04 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 8424 invoked by uid 500); 21 Apr 2015 01:05:04 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 8364 invoked by uid 99); 21 Apr 2015 01:05:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2015 01:05:04 +0000 Date: Tue, 21 Apr 2015 01:05:04 +0000 (UTC) From: "Rahul Challapalli (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-2834) Applying multiple flattens after a join results in an NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)