Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-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 E22FA10B1D for ; Wed, 16 Oct 2013 00:51:42 +0000 (UTC) Received: (qmail 73511 invoked by uid 500); 16 Oct 2013 00:51:42 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 73469 invoked by uid 500); 16 Oct 2013 00:51:41 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 73460 invoked by uid 500); 16 Oct 2013 00:51:41 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 73457 invoked by uid 99); 16 Oct 2013 00:51:41 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Oct 2013 00:51:41 +0000 Date: Wed, 16 Oct 2013 00:51:41 +0000 (UTC) From: "Harish Butani (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-5555) Support alternate join syntax: joining conditions in where clause; also pushdown qualifying join conditions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Harish Butani created HIVE-5555: ----------------------------------- Summary: Support alternate join syntax: joining conditions in where clause; also pushdown qualifying join conditions Key: HIVE-5555 URL: https://issues.apache.org/jira/browse/HIVE-5555 Project: Hive Issue Type: Bug Reporter: Harish Butani Assignee: Harish Butani Attachments: AlternativeJoinSyntax.pdf Certain tools still generate `old style' Join queries where the join condition is in the Where clause. A related set of issues that can be addressed is that of pushing forward joining conditions; in a manner similar to the Predicate Pushdown feature of Hive. For e.g. these queries can have join conditions pushed down: {noformat} - query 1, push join predicate from 2nd join to 1st explain select * from part p1 join part p2 join part p3 on p1.p_name = p2.p_name and p2.p_name = p3.p_name; - query 2 explain select * from part p1 join part p2 join part p3 where p1.p_name = p2.p_name and p2.p_name = p3.p_name; {noformat} -- This message was sent by Atlassian JIRA (v6.1#6144)