Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C49617B17 for ; Fri, 17 Jul 2015 09:52:09 +0000 (UTC) Received: (qmail 96014 invoked by uid 500); 17 Jul 2015 09:52:05 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 95890 invoked by uid 500); 17 Jul 2015 09:52:05 -0000 Mailing-List: contact issues-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 issues@drill.apache.org Received: (qmail 95681 invoked by uid 99); 17 Jul 2015 09:52:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jul 2015 09:52:05 +0000 Date: Fri, 17 Jul 2015 09:52:05 +0000 (UTC) From: =?utf-8?Q?Stef=C3=A1n_Baxter_=28JIRA=29?= To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-3509) Empty JSON files trigger exception when used in a union MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Stef=C3=A1n Baxter created DRILL-3509: ------------------------------------ Summary: Empty JSON files trigger exception when used in a uni= on Key: DRILL-3509 URL: https://issues.apache.org/jira/browse/DRILL-3509 Project: Apache Drill Issue Type: Bug Components: Query Planning & Optimization Affects Versions: 1.1.0 Reporter: Stef=C3=A1n Baxter Assignee: Jinfeng Ni When the right hand side of a union is a directory search that involving an= empty json file (or a empty log file waiting for first log lines) causes t= his exception: { "errorMessage" : "PARSE ERROR: From line 1, column 564 to line 1, column = 574: Column 'occurred_at' not found in any table\n\n\n[Error Id: bef7370a-3= c4e-4c35-8126-33c391ecb8ce on localhost:31010]" } where 'occurred_at' is the first column used/requested. This works fine if no union is involved but it happens regardless of the le= ft/right position of the directory search if union is being called. -- This message was sent by Atlassian JIRA (v6.3.4#6332)