Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D64DF186FF for ; Tue, 6 Oct 2015 00:06:26 +0000 (UTC) Received: (qmail 28337 invoked by uid 500); 6 Oct 2015 00:06:26 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 28314 invoked by uid 500); 6 Oct 2015 00:06:26 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 28305 invoked by uid 99); 6 Oct 2015 00:06:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2015 00:06:26 +0000 Date: Tue, 6 Oct 2015 00:06:26 +0000 (UTC) From: "Gopal V (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HIVE-12040) CBO: Use CBO, even for the 1 JOIN + GROUP BY case MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-12040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gopal V resolved HIVE-12040. ---------------------------- Resolution: Duplicate > CBO: Use CBO, even for the 1 JOIN + GROUP BY case > ------------------------------------------------- > > Key: HIVE-12040 > URL: https://issues.apache.org/jira/browse/HIVE-12040 > Project: Hive > Issue Type: Improvement > Components: Logical Optimizer > Affects Versions: 1.3.0, 2.0.0 > Reporter: Gopal V > Assignee: Gopal V > Fix For: 1.3.0, 2.0.0 > > > Hive CBO kicks in for a query only if a query has >1 joins, which is an archaic result of only re-ordering joins in the original impl. > As more group-by & filter optimizers have been added, modify the CBO impl to kick in even if the query has a single JOIN. -- This message was sent by Atlassian JIRA (v6.3.4#6332)