hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Zhang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1002) multi-partition inserts
Date Wed, 14 Apr 2010 17:48:51 GMT

    [ https://issues.apache.org/jira/browse/HIVE-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856989#action_12856989
] 

Ning Zhang commented on HIVE-1002:
----------------------------------

1) hive.merge.mapfiles/mapredfiles will be set to false internally if dynamic partitioning
is enabled. I have modified some of the tests to remove the explicit setting of hive.merge.*
to false. I'll file a followup JIRA to address merging.

2) drop tables are added to the positive tests.

3) load_dyn_part14.q was added to positive tests for HIVE_DEFAULT_PARTITION. I didn't figure
out how to enter unicode in hive cli ('\u8888' seems not work. I'll file a following up JiRA
for this and another negative test case where exception was thrown after job finished (TestNegativeCliDriver
doesn't work for this case either). 

Will upload a new patch addressing the above comments. 

> multi-partition inserts
> -----------------------
>
>                 Key: HIVE-1002
>                 URL: https://issues.apache.org/jira/browse/HIVE-1002
>             Project: Hadoop Hive
>          Issue Type: New Feature
>            Reporter: Zheng Shao
>            Assignee: Ning Zhang
>             Fix For: 0.6.0
>
>         Attachments: HIVE-1002.1.patch, HIVE-1002.2.patch, HIVE-1002.patch
>
>
> We should allow queries like this into a partitioned table:
> {code}
> CREATE TABLE (a STRING, b STRING, c STRING)
> PARTITIONED BY (ds STRING, ts STRING);
> INSERT OVERWRITE TABLE x PARTITION (ds = '2009-12-12')
> SELECT a, b, c, ts FROM xxx;
> {code}
> Basically, allowing users to overwrite multiple partitions at a time.
> The partition values specified in PARTITION part (if any) should be a prefix of the partition
keys.
> The rest of the partition keys goes to the end of the SELECT expression list.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message