You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Denys Kuzmenko (Jira)" <ji...@apache.org> on 2020/04/30 19:28:00 UTC

[jira] [Updated] (HIVE-23349) Concurrent MERGE INSERT operations produce duplicates

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

Denys Kuzmenko updated HIVE-23349:
----------------------------------
    Description: 
2 concurrent merge

{code}
create table target (a int, b int) stored as orc TBLPROPERTIES ('transactional'='true')");
insert into target values (1,2), (3,4)
create table source (a int, b int)
{code]

execute in parallel:
{code}
insert into source values (5,6), (7,8)
{code}

> Concurrent MERGE INSERT operations produce duplicates
> -----------------------------------------------------
>
>                 Key: HIVE-23349
>                 URL: https://issues.apache.org/jira/browse/HIVE-23349
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>            Reporter: Denys Kuzmenko
>            Assignee: Denys Kuzmenko
>            Priority: Major
>
> 2 concurrent merge
> {code}
> create table target (a int, b int) stored as orc TBLPROPERTIES ('transactional'='true')");
> insert into target values (1,2), (3,4)
> create table source (a int, b int)
> {code]
> execute in parallel:
> {code}
> insert into source values (5,6), (7,8)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)