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 9B06710137 for ; Sat, 15 Feb 2014 22:46:25 +0000 (UTC) Received: (qmail 84287 invoked by uid 500); 15 Feb 2014 22:46:20 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 84213 invoked by uid 500); 15 Feb 2014 22:46: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 84202 invoked by uid 500); 15 Feb 2014 22:46:19 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 84198 invoked by uid 99); 15 Feb 2014 22:46:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Feb 2014 22:46:19 +0000 Date: Sat, 15 Feb 2014 22:46:19 +0000 (UTC) From: "Brock Noland (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6439) Introduce CBO step in Semantic Analyzer 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-6439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13902557#comment-13902557 ] Brock Noland commented on HIVE-6439: ------------------------------------ 1) There are many tabs and spacing issues in this patch 2) We are catching throwable and logging at debug. We should *never* do this. {noformat} } catch (Throwable t) { LOG.debug("CBO failed, skipping CBO", t); {noformat} > Introduce CBO step in Semantic Analyzer > --------------------------------------- > > Key: HIVE-6439 > URL: https://issues.apache.org/jira/browse/HIVE-6439 > Project: Hive > Issue Type: Sub-task > Reporter: Harish Butani > Assignee: Harish Butani > Attachments: HIVE-6439.1.patch > > > This patch introduces CBO step in SemanticAnalyzer. For now the CostBasedOptimizer is an empty shell. > The contract between SemAly and CBO is: > - CBO step is controlled by the 'hive.enable.cbo.flag'. > - When true Hive SemAly will hand CBO a Hive Operator tree (with operators annotated with stats). If it can CBO will return a better plan in Hive AST form. -- This message was sent by Atlassian JIRA (v6.1.5#6160)