[
https://issues.apache.org/jira/browse/HIVE-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zheng Shao updated HIVE-413:
----------------------------
Resolution: Fixed
Fix Version/s: 0.4.0
Release Note: HIVE-413. Fix multi-table insert. (Namit Jain via zshao)
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
Committed. Thanks Namit!
> multi-table insert
> ------------------
>
> Key: HIVE-413
> URL: https://issues.apache.org/jira/browse/HIVE-413
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Namit Jain
> Assignee: Namit Jain
> Priority: Critical
> Fix For: 0.4.0
>
> Attachments: hive.413.1.patch
>
>
> some problem in multi-table insert if both of them contain grouping keys
> which are different.
> have not marked it a blocker, since a workaround exists (issue both inserts
> separately) - but this if the release is not yet done, we should fix this
> also.
> FROM SRC
> INSERT OVERWRITE TABLE DEST1 SELECT SRC.key, src.value, COUNT(DISTINCT
> SUBSTR(SRC.value,5)) GROUP BY SRC.key\
> , src.value
> INSERT OVERWRITE TABLE DEST2 SELECT SRC.key, COUNT(DISTINCT
> SUBSTR(SRC.value,5)) GROUP BY SRC.key;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.