[ 
https://issues.apache.org/jira/browse/SPARK-4203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14194843#comment-14194843
 ] 

Apache Spark commented on SPARK-4203:
-------------------------------------

User 'tbfenet' has created a pull request for this issue:
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
>
> 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: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to