[ 
https://issues.apache.org/jira/browse/SPARK-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Armbrust resolved SPARK-4203.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

Issue resolved by pull request 3076
[https://github.com/apache/spark/pull/3076]

> Partition directories in random order when inserting into hive table
> --------------------------------------------------------------------
>
>                 Key: SPARK-4203
>                 URL: https://issues.apache.org/jira/browse/SPARK-4203
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.1.0, 1.2.0
>            Reporter: Matthew Taylor
>             Fix For: 1.2.0
>
>
> When doing an insert into hive table with partitions the folders written to 
> the file system are in a random order instead of the order defined in table 
> creation. Seems that the loadPartition method in Hive.java has a 
> Map<String,String> parameter but expects to be called with a map that has a 
> defined ordering such as  LinkedHashMap. Have a patch which I will do a PR 
> for.     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to