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 ABF7817E3E for ; Thu, 30 Oct 2014 03:47:34 +0000 (UTC) Received: (qmail 7544 invoked by uid 500); 30 Oct 2014 03:47:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 7474 invoked by uid 500); 30 Oct 2014 03:47:34 -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 7458 invoked by uid 500); 30 Oct 2014 03:47:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 7455 invoked by uid 99); 30 Oct 2014 03:47:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2014 03:47:34 +0000 Date: Thu, 30 Oct 2014 03:47:34 +0000 (UTC) From: =?utf-8?Q?Jes=C3=BAs_Camacho_Rodr=C3=ADguez_=28JIRA=29?= To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-8651) CBO: sort column changed in infer_bucket_sort test 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-8651?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14189= 587#comment-14189587 ]=20 Jes=C3=BAs Camacho Rodr=C3=ADguez commented on HIVE-8651: ----------------------------------------------- This is not a correctness issue; the order of the joins is changed by CBO a= nd thus the bucket columns change. But the plan is correct. > CBO: sort column changed in infer_bucket_sort test > -------------------------------------------------- > > Key: HIVE-8651 > URL: https://issues.apache.org/jira/browse/HIVE-8651 > Project: Hive > Issue Type: Sub-task > Components: CBO > Reporter: Sergey Shelukhin > Assignee: Jes=C3=BAs Camacho Rodr=C3=ADguez > Fix For: 0.15.0 > > > {noformat} > -Bucket Columns: [value] =20 > -Sort Columns: [Order(col:value, order:1)] =20 > +Bucket Columns: [key] =20 > +Sort Columns: [Order(col:key, order:1)] =20 > {noformat} > That is in the case for "Test join on three tables on different keys, sho= uld be bucketed and sorted by latter key"; the sort changed to the first ke= y instead -- This message was sent by Atlassian JIRA (v6.3.4#6332)