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 9257F200AF7 for ; Tue, 31 May 2016 00:47:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 90FAE160A41; Mon, 30 May 2016 22:47:14 +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 DFC63160A19 for ; Tue, 31 May 2016 00:47:13 +0200 (CEST) Received: (qmail 60712 invoked by uid 500); 30 May 2016 22:47:13 -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 60701 invoked by uid 99); 30 May 2016 22:47:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2016 22:47:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D698D2C14F8 for ; Mon, 30 May 2016 22:47:12 +0000 (UTC) Date: Mon, 30 May 2016 22:47:12 +0000 (UTC) From: "Jesus Camacho Rodriguez (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-13849) Wrong plan for hive.optimize.sort.dynamic.partition=true MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 30 May 2016 22:47:14 -0000 [ https://issues.apache.org/jira/browse/HIVE-13849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15306994#comment-15306994 ] Jesus Camacho Rodriguez commented on HIVE-13849: ------------------------------------------------ {noformat} Test Name Duration Age org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_dynpart_sort_optimization 2 min 4 sec 1 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_dynpart_sort_opt_vectorization 1 min 13 sec 1 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join32 7.2 sec 1 org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_select_read_only_encrypted_tbl 1 min 38 sec 1 org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_opt_vectorization 1 min 37 sec 1 org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_optimization 2 min 11 sec 1 org.apache.hive.hcatalog.hbase.TestPigHBaseStorageHandler.org.apache.hive.hcatalog.hbase.TestPigHBaseStorageHandler 1 min 11 sec 1 org.apache.hive.hcatalog.hbase.TestPigHBaseStorageHandler.org.apache.hive.hcatalog.hbase.TestPigHBaseStorageHandler 1 min 11 sec 1 org.apache.hadoop.hive.llap.daemon.impl.comparator.TestShortestJobFirstComparator.testWaitQueueComparatorWithinDagPriority 5 sec 1 org.apache.hadoop.hive.llap.daemon.impl.TestTaskExecutorService.testPreemptionQueueComparator 5 sec 4 org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_constprog_partitioner 3.1 sec 33 org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_insert_partition_static 1 min 28 sec 49 org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_insert_partition_dynamic 1 min 19 sec 49 org.apache.hive.minikdc.TestHiveAuthFactory.testStartTokenManagerForMemoryTokenStore 2.6 sec 49 org.apache.hive.minikdc.TestHiveAuthFactory.testStartTokenManagerForDBTokenStore 0.34 sec 49 org.apache.hive.minikdc.TestMiniHiveKdc.testLogin 1 min 53 sec 49 org.apache.hadoop.hive.llap.tez.TestConverters.testFragmentSpecToTaskSpec 82 ms 69 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_selectindate 13 sec 101 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_avrocountemptytbl 9.9 sec 101 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_order_null 33 sec 101 org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_join_with_different_encryption_keys 1 min 33 sec 101 org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_index_bitmap3 9.6 sec 101 org.apache.hadoop.hive.cli.TestMinimrCliDriver.org.apache.hadoop.hive.cli.TestMinimrCliDriver 1 min 8 sec 101 {noformat} > Wrong plan for hive.optimize.sort.dynamic.partition=true > -------------------------------------------------------- > > Key: HIVE-13849 > URL: https://issues.apache.org/jira/browse/HIVE-13849 > Project: Hive > Issue Type: Bug > Components: Physical Optimizer > Affects Versions: 2.1.0, 2.2.0 > Reporter: Jesus Camacho Rodriguez > Assignee: Jesus Camacho Rodriguez > Priority: Critical > Attachments: HIVE-13849.patch > > > To reproduce: > {noformat} > set hive.support.concurrency=true; > set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager; > set hive.exec.dynamic.partition.mode=nonstrict; > set hive.optimize.sort.dynamic.partition=true; > CREATE TABLE non_acid(key string, value string) PARTITIONED BY(ds string, hr int) CLUSTERED BY(key) INTO 2 BUCKETS STORED AS ORC; > explain insert into table non_acid partition(ds,hr) select * from srcpart sort by value; > {noformat} > CC'ed [~ashutoshc], [~ekoifman] -- This message was sent by Atlassian JIRA (v6.3.4#6332)