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 460C811BA9 for ; Tue, 24 Jun 2014 17:19:52 +0000 (UTC) Received: (qmail 7572 invoked by uid 500); 24 Jun 2014 17:19:52 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 7550 invoked by uid 500); 24 Jun 2014 17:19:52 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 7539 invoked by uid 99); 24 Jun 2014 17:19:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2014 17:19:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 24 Jun 2014 17:19:53 +0000 Received: (qmail 3837 invoked by uid 99); 24 Jun 2014 17:19:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2014 17:19:25 +0000 Date: Tue, 24 Jun 2014 17:19:25 +0000 (UTC) From: "Norris Lee (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-907) Inner joins that have no results do not return any metadata MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DRILL-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14042395#comment-14042395 ] Norris Lee commented on DRILL-907: ---------------------------------- Fixed with the [https://issues.apache.org/jira/browse/DRILL-884] patch. > Inner joins that have no results do not return any metadata > ----------------------------------------------------------- > > Key: DRILL-907 > URL: https://issues.apache.org/jira/browse/DRILL-907 > Project: Apache Drill > Issue Type: Bug > Components: Execution - Flow > Reporter: Norris Lee > Assignee: Steven Phillips > Priority: Critical > Labels: Metadata, Tableau > Fix For: 1.0.0-BETA1 > > > When executing the query > {code} > SELECT `time_table`.`column1` AS `columnB`, > `emp`.`date_hire` AS `date_hire`, > `emp`.`dept` AS `dept`, > `emp`.`emp_id` AS `emp_id`, > `emp`.`first_name` AS `first_name`, > `emp`.`interests` AS `interests`, > `time_table`.`keycolumn` AS `keycolumn`, > `emp`.`last_name` AS `last_name`, > `emp`.`log_exempt` AS `log_exempt`, > `emp`.`num_salary` AS `num_salary` > FROM `hive43.default`.`emp` `emp` > INNER JOIN `hive43.default`.`time_table` `time_table` ON (`emp`.`last_name` = `time_table`.`column1`) > LIMIT 10000 > {code} > the expected result is 0 rows. Sqlline returns this: > {code} > +--+ > | | > +--+ > +--+ > No rows selected (1.868 seconds) > {code} > However, the recordbatch coming back has no metadata in them. They should at least come back with the column names and types. -- This message was sent by Atlassian JIRA (v6.2#6252)