Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 289AA200BD2 for ; Sat, 19 Nov 2016 04:52:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 27690160B16; Sat, 19 Nov 2016 03:52:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6A5BE160B04 for ; Sat, 19 Nov 2016 04:51:59 +0100 (CET) Received: (qmail 42678 invoked by uid 500); 19 Nov 2016 03:51:58 -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 42664 invoked by uid 99); 19 Nov 2016 03:51:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Nov 2016 03:51:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 526542C0059 for ; Sat, 19 Nov 2016 03:51:58 +0000 (UTC) Date: Sat, 19 Nov 2016 03:51:58 +0000 (UTC) From: "Hive QA (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-15234) Semijoin cardinality estimation can be improved MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 19 Nov 2016 03:52:00 -0000 [ https://issues.apache.org/jira/browse/HIVE-15234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15678527#comment-15678527 ] Hive QA commented on HIVE-15234: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12839638/HIVE-15234.1.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 10728 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[cbo_rp_subq_exists] (batchId=54) org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[transform_ppr2] (batchId=133) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[cbo_rp_semijoin] (batchId=137) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[cbo_rp_subq_in] (batchId=137) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[join_acid_non_acid] (batchId=150) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats] (batchId=145) org.apache.hive.spark.client.rpc.TestRpc.testServerAddress (batchId=272) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/2205/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/2205/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-2205/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 7 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12839638 - PreCommit-HIVE-Build > Semijoin cardinality estimation can be improved > ----------------------------------------------- > > Key: HIVE-15234 > URL: https://issues.apache.org/jira/browse/HIVE-15234 > Project: Hive > Issue Type: Bug > Components: CBO, Logical Optimizer > Affects Versions: 2.0.0, 2.1.0 > Reporter: Ashutosh Chauhan > Assignee: Ashutosh Chauhan > Attachments: HIVE-15234.1.patch, HIVE-15234.patch > > > Currently calcite optimization rules rely on (Hive)SemiJoin to represent semi join node, whereas Stats estimate use {{leftSemiJoin}} field of Join to estimate stats. As a result semi-join specific stats calculation logic is never hit since at plan generation time HiveSemiJoin is created and leftSemiJoin field of Join is never set. -- This message was sent by Atlassian JIRA (v6.3.4#6332)