[
https://issues.apache.org/jira/browse/HIVE-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ning Zhang updated HIVE-1806:
-----------------------------
Attachment: HIVE-1806.3.patch
Uploading a new patch that passed all unit tests. The only change is in
ConditionalResolveMerge.java by introducing a new boolean doMerge rather than
rely on the condition totalSize > 0.
> The merge criteria on dynamic partitons should be per partiton
> --------------------------------------------------------------
>
> Key: HIVE-1806
> URL: https://issues.apache.org/jira/browse/HIVE-1806
> Project: Hive
> Issue Type: Bug
> Reporter: Ning Zhang
> Assignee: Ning Zhang
> Attachments: HIVE-1806.2.patch, HIVE-1806.3.patch, HIVE-1806.patch
>
>
> Currently the criteria of whether a merge job should be fired on dynamic
> generated partitions are is the average file size of files across all dynamic
> partitions. It is very common that some dynamic partitions contains mostly
> large files and some contains mostly small files. Even though the average
> size of the total files are larger than the hive.merge.smallfiles.avgsize, we
> should merge those partitions containing small files only.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.