You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2018/03/29 22:23:00 UTC

[jira] [Commented] (HIVE-18021) Insert overwrite on acid table with Union All optimizations

    [ https://issues.apache.org/jira/browse/HIVE-18021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16419880#comment-16419880 ] 

Sergey Shelukhin commented on HIVE-18021:
-----------------------------------------

Is there a correctness problem from separate directories?


> Insert overwrite on acid table with Union All optimizations
> -----------------------------------------------------------
>
>                 Key: HIVE-18021
>                 URL: https://issues.apache.org/jira/browse/HIVE-18021
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 3.0.0
>            Reporter: Eugene Koifman
>            Priority: Major
>
> This is a followup from HIVE-14988.
> T is unbucketed acid table
> {noformat}
> insert into T select a,b from S union all select a,b from S1
> {noformat}
> will create a separate subdirectory for each leg of the union in the target table
> (automatically on Tez, with some props enabled on MR)
> Regular Insert will make each subdirectory be a delta_x_x_0, delta_x_x_1.  See HIVE-15899.
> There is no such suffix mechanism for base_x/.  
> Need to figure how this should work.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)