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


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.

Reply via email to