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

[jira] [Commented] (HIVE-18774) ACID: Use the _copy_N files copyNumber as the implicit statement-id

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

Eugene Koifman commented on HIVE-18774:
---------------------------------------

suppose you have 2 Load Data statements in 1 txn
1st one creates delta_7_7_0/ with 0000_0 and 0000_0_copy_1
2nd one creates delta_7_7_1/ with 0000_0 and 0000_0_copy_1

so you can't simply take N from copy_N and use it as stmt id

> ACID: Use the _copy_N files copyNumber as the implicit statement-id
> -------------------------------------------------------------------
>
>                 Key: HIVE-18774
>                 URL: https://issues.apache.org/jira/browse/HIVE-18774
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>         Environment: if this is not done in 3.0 it cannot be done at all
>            Reporter: Gopal V
>            Assignee: Eugene Koifman
>            Priority: Blocker
>
> When upgrading flat ORC files to ACID, use the _copy_N numbering as a statement-id to avoid having to align the row numbering between _copy_1 and _copy_2 files.



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