You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2017/08/03 06:26:00 UTC

[jira] [Updated] (HIVE-17212) Dynamic add partition by insert shouldn't generate INSERT event.

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

Daniel Dai updated HIVE-17212:
------------------------------
      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Patch pushed to master. Thanks Sankar, Anishek!

> Dynamic add partition by insert shouldn't generate INSERT event.
> ----------------------------------------------------------------
>
>                 Key: HIVE-17212
>                 URL: https://issues.apache.org/jira/browse/HIVE-17212
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HiveServer2, repl
>    Affects Versions: 2.1.0
>            Reporter: Sankar Hariappan
>            Assignee: Sankar Hariappan
>              Labels: DR, replication
>             Fix For: 3.0.0
>
>         Attachments: HIVE-17212.01.patch
>
>
> A partition is dynamically added if INSERT INTO is invoked on a non-existing partition.
> Generally, insert operation generated INSERT event to notify the operation with new data files.
> In this case, Hive should generate only ADD_PARTITION events with the new files added. It shouldn't create INSERT event.
> Need to test and verify this behaviour.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)