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 445BF10EEF for ; Thu, 27 Mar 2014 04:31:34 +0000 (UTC) Received: (qmail 97408 invoked by uid 500); 27 Mar 2014 04:31:30 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 96478 invoked by uid 500); 27 Mar 2014 04:31:20 -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 96436 invoked by uid 500); 27 Mar 2014 04:31:17 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 96430 invoked by uid 99); 27 Mar 2014 04:31:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 04:31:17 +0000 Date: Thu, 27 Mar 2014 04:31:17 +0000 (UTC) From: "Alan Gates (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=3D13948= 872#comment-13948872 ]=20 Alan Gates commented on HIVE-6643: ---------------------------------- I still see the following failures when running the tests on the latest pat= ch: 2014-03-27 01:20:45 WARN PTest:205 - org.apache.hadoop.hive.cli.TestCliDri= ver.testCliDriver_input23 2014-03-27 01:20:45 WARN PTest:205 - org.apache.hadoop.hive.cli.TestCliDri= ver.testCliDriver_join0 2014-03-27 01:20:45 WARN PTest:205 - org.apache.hadoop.hive.cli.TestCliDri= ver.testCliDriver_join23 > 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 > > > 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)