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 D83E2189E4 for ; Fri, 2 Oct 2015 15:41:27 +0000 (UTC) Received: (qmail 70852 invoked by uid 500); 2 Oct 2015 15:41:27 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 70766 invoked by uid 500); 2 Oct 2015 15:41:27 -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 70502 invoked by uid 99); 2 Oct 2015 15:41:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2015 15:41:26 +0000 Date: Fri, 2 Oct 2015 15:41:26 +0000 (UTC) From: "Jesus Camacho Rodriguez (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-12017) Do not disable CBO by default when number of joins in a query is equal or less than 1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jesus Camacho Rodriguez created HIVE-12017: ---------------------------------------------- Summary: Do not disable CBO by default when number of joins in a query is equal or less than 1 Key: HIVE-12017 URL: https://issues.apache.org/jira/browse/HIVE-12017 Project: Hive Issue Type: Improvement Components: CBO Affects Versions: 2.0.0 Reporter: Jesus Camacho Rodriguez Assignee: Jesus Camacho Rodriguez Instead, we could disable some parts of CBO that are not relevant if the query contains 1 or 0 joins. Implementation should be able to define easily other query patterns for which we might disable some parts of CBO (in case we want to do it in the future). -- This message was sent by Atlassian JIRA (v6.3.4#6332)