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 (Commented) (JIRA)" <ji...@apache.org> on 2012/02/10 21:04:59 UTC
[jira] [Commented] (HIVE-2786) Throw an error if the user tries to
insert a table into a region other than the primary region
[ https://issues.apache.org/jira/browse/HIVE-2786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205706#comment-13205706 ]
Namit Jain commented on HIVE-2786:
----------------------------------
The semantics are as follows:
If the table/partition is present in the primary region, and the insert is happening in the secondary region, verify that the table/partition is the same (the file size should be exactly
the same). Otherwise, the operation fails.
If the table/partition is present in the secondary region, and the insert is happening in the primary region, verify that the table/partition is the same (the file size should be exactly
the same). Otherwise, the secondary region needs to be deleted.
> Throw an error if the user tries to insert a table into a region other than the primary region
> ----------------------------------------------------------------------------------------------
>
> Key: HIVE-2786
> URL: https://issues.apache.org/jira/browse/HIVE-2786
> Project: Hive
> Issue Type: New Feature
> Reporter: Namit Jain
> Assignee: Namit Jain
>
> By default, the user can only insert into the primary region.
> Add an option to insert into the secondary region also.
> The config variable is 'hive.insert.secondary.regions' - default for that variable is false
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira