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 DD3EC11381 for ; Sun, 30 Mar 2014 16:37:19 +0000 (UTC) Received: (qmail 56073 invoked by uid 500); 30 Mar 2014 16:37:18 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 55664 invoked by uid 500); 30 Mar 2014 16:37:17 -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 55638 invoked by uid 500); 30 Mar 2014 16:37:17 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 55631 invoked by uid 99); 30 Mar 2014 16:37:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Mar 2014 16:37:16 +0000 Date: Sun, 30 Mar 2014 16:37:16 +0000 (UTC) From: "Harish Butani (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=3D13954= 740#comment-13954740 ]=20 Harish Butani commented on HIVE-6643: ------------------------------------- Thanks for updating the wiki. Added the Release Note. > 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 > Fix For: 0.13.0 > > Attachments: HIVE-6643.1.patch, HIVE-6643.2.patch, HIVE-6643.3.pa= tch, HIVE-6643.4.patch, HIVE-6643.5.patch, HIVE-6643.6.patch, HIVE-6643.7.p= atch > > > 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)