[
https://issues.apache.org/jira/browse/HIVE-629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731745#action_12731745
]
Zheng Shao commented on HIVE-629:
---------------------------------
That makes sense.
If the user is doing a map-reduce job, we'd better not add such a task because
the partitioning will be completely changed.
In the future, we can do further optimizations to enable it for map-reduce job,
only if the partition key and sort key is still available at the FileSink.
Will test and commit.
> concat files needed for map-reduce jobs also
> --------------------------------------------
>
> Key: HIVE-629
> URL: https://issues.apache.org/jira/browse/HIVE-629
> Project: Hadoop Hive
> Issue Type: Improvement
> Components: Query Processor
> Affects Versions: 0.4.0
> Reporter: Namit Jain
> Assignee: Namit Jain
> Attachments: hive.629.1.patch, hive.629.2.patch
>
>
> Currently, hive concatenates files only if the job under consideration is a
> map-only job.
> I got some requests from some users, where they want this behavior for
> map-reduce jobs also - it may not be a good idea to turn it on by default.
> But, we should provide an option to the user where the concatenation can
> happen even for map-reduce jobs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.