hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (HIVE-13652) Import table change order of dynamic partitions
Date Thu, 04 May 2017 19:06:04 GMT


ASF GitHub Bot commented on HIVE-13652:

GitHub user sankarh opened a pull request:

    HIVE-13652: Import table change order of dynamic partitions


You can merge this pull request into a Git repository by running:

    $ git pull HIVE-13652

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #180
commit 3af1f73aeb854c5b911f48c925365336f15cb0e5
Author: Sankar Hariappan <>
Date:   2017-05-04T18:51:38Z

    HIVE-13652: Import table change order of dynamic partitions


> Import table change order of dynamic partitions
> -----------------------------------------------
>                 Key: HIVE-13652
>                 URL:
>             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.
> Tables created as:
> create table T1
> ( ... ) PARTITIONED BY (period_year string, period_month string, period_day string) STORED
> 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

View raw message