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 5EB3C10A49 for ; Tue, 18 Mar 2014 18:22:06 +0000 (UTC) Received: (qmail 14789 invoked by uid 500); 18 Mar 2014 18:21:50 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 14703 invoked by uid 500); 18 Mar 2014 18:21:48 -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 14476 invoked by uid 500); 18 Mar 2014 18:21:45 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 14409 invoked by uid 99); 18 Mar 2014 18:21:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2014 18:21:44 +0000 Date: Tue, 18 Mar 2014 18:21:44 +0000 (UTC) From: "Harish Butani (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6643) Add a check for cross products in plans and output a warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-6643?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Harish Butani updated HIVE-6643: -------------------------------- Status: Patch Available (was: Open) > Add a check for cross products in plans and output a warning > ------------------------------------------------------------ > > Key: HIVE-6643 > URL: https://issues.apache.org/jira/browse/HIVE-6643 > Project: Hive > Issue Type: Bug > Reporter: Harish Butani > Assignee: Harish Butani > Attachments: HIVE-6643.1.patch, HIVE-6643.2.patch > > > Now that we support old style join syntax, it is easy to write queries th= at generate a plan with a cross product. > For e.g. say you have A join B join C join D on A.x =3D B.x and A.y =3D D= .y and C.z =3D D.z > So the JoinTree is: > A =E2=80=94 B > |__ D =E2=80=94 C > Since we don't reorder join graphs, we will end up with a cross product b= etween (A join B) and C -- This message was sent by Atlassian JIRA (v6.2#6252)