You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2010/01/12 03:20:54 UTC
[jira] Commented: (HIVE-1039) multi-insert doesn't work for local
directories
[ https://issues.apache.org/jira/browse/HIVE-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799023#action_12799023 ]
Namit Jain commented on HIVE-1039:
----------------------------------
looks ok - but can you add the following tests:
1. hive.merge.maptasks = true
multi table insert query (map only)
2. hive.merge.maptasks = false
multi table insert query (map only)
3. hive.merge.maptasks = true
multi directory insert query (map only)
4. hive.merge.maptasks = false
multi directory insert query (map only)
5. hive.merge.mapredtasks = true
multi table insert query (map-reduce)
6. hive.merge.mapredtasks = false
multi table insert query (map-reduce)
> multi-insert doesn't work for local directories
> -----------------------------------------------
>
> Key: HIVE-1039
> URL: https://issues.apache.org/jira/browse/HIVE-1039
> Project: Hadoop Hive
> Issue Type: Bug
> Reporter: Ning Zhang
> Assignee: Ning Zhang
> Attachments: HIVE-1039.patch
>
>
> As wd pointed out in hive-user, the following query only load data to the first local directory. Multi-insert to tables works fine.
> hive> from test
> > INSERT OVERWRITE LOCAL DIRECTORY '/home/stefdong/tmp/0' select *
> where a = 1
> > INSERT OVERWRITE LOCAL DIRECTORY '/home/stefdong/tmp/1' select *
> where a = 3;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.