SPARK-4203 Partition directories in random order when inserting into hive table