You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Navis (JIRA)" <ji...@apache.org> on 2012/09/25 10:23:08 UTC

[jira] [Updated] (HIVE-3465) insert into statement overwrites if target table is prefixed with database name

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

Navis updated HIVE-3465:
------------------------

    Status: Patch Available  (was: Open)

https://reviews.facebook.net/D5661
                
> insert into statement overwrites if target table is prefixed with database name
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-3465
>                 URL: https://issues.apache.org/jira/browse/HIVE-3465
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.8.1
>            Reporter: Kaufman Ng
>            Assignee: Navis
>         Attachments: HIVE-3465.1.patch.txt
>
>
> insert into statement works as expected when the target table is not prefixed with database name.  It does append correctly.
> However, if I specify a database name prefixing the target table, the statement just overwrites instead of appends:
> insert into table my_database.target select * from source;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira