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 962B6200C6C for ; Fri, 5 May 2017 21:51:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 94EDF160BBE; Fri, 5 May 2017 19:51:08 +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 E4D19160BAA for ; Fri, 5 May 2017 21:51:07 +0200 (CEST) Received: (qmail 24002 invoked by uid 500); 5 May 2017 19:51:07 -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 23993 invoked by uid 99); 5 May 2017 19:51:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 May 2017 19:51:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C07AE1A7B1C for ; Fri, 5 May 2017 19:51:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id VofrsEoSYSDS for ; Fri, 5 May 2017 19:51:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C5BFC5F520 for ; Fri, 5 May 2017 19:51:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2EF5DE0D57 for ; Fri, 5 May 2017 19:51:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 25AD121DF1 for ; Fri, 5 May 2017 19:51:04 +0000 (UTC) Date: Fri, 5 May 2017 19:51:04 +0000 (UTC) From: "Thejas M Nair (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-13652) Import table change order of dynamic partitions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 05 May 2017 19:51:08 -0000 [ https://issues.apache.org/jira/browse/HIVE-13652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998870#comment-15998870 ] Thejas M Nair commented on HIVE-13652: -------------------------------------- Created HIVE-16597 to track larger cleanup around datastructure for partSpec. > Import table change order of dynamic partitions > ----------------------------------------------- > > Key: HIVE-13652 > URL: https://issues.apache.org/jira/browse/HIVE-13652 > Project: Hive > Issue Type: Bug > Components: Import/Export, repl > Affects Versions: 1.2.0, 1.2.1 > Reporter: Lukas Waldmann > Assignee: Sankar Hariappan > Labels: DR, replication > Attachments: HIVE-13652.01.patch, ReplLoad_PartitionOrder_AfterFix_Log.png, ReplLoad_PartitionOrder_BeforeFix_Log.png > > > Table with multiple dynamic partitions like year,month, day exported using "export table" command is imported (using "import table") such a way that order of partitions is changed to day, month, year. > Export DB: Hive 0.14 > Import DB: Hive 1.2.1000.2.4.0.0-169 > Tables created as: > create table T1 > ( ... ) PARTITIONED BY (period_year string, period_month string, period_day string) STORED AS ORC TBLPROPERTIES ("orc.compress"="SNAPPY"); > export command: > export table t1 to 'path' > import command: > import table t1 from 'path' > HDFS file structure on both original table location and export path keeps the original partition order ../year/month/day > HDFS file structure after import is .../day/month/year -- This message was sent by Atlassian JIRA (v6.3.15#6346)