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 2009/04/15 17:11:15 UTC

[jira] Updated: (HIVE-413) multi-table insert

     [ https://issues.apache.org/jira/browse/HIVE-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-413:
----------------------------

    Attachment: hive.413.1.patch

> 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
>         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.