hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20581) Eliminate rename() from full CRUD transactional tables
Date Tue, 06 Nov 2018 22:11:00 GMT

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

Eugene Koifman commented on HIVE-20581:
---------------------------------------

Like Sergey said, this is to make full CRUD behave like Insert-only tables with respect to
rename().

> Eliminate rename() from full CRUD transactional tables
> ------------------------------------------------------
>
>                 Key: HIVE-20581
>                 URL: https://issues.apache.org/jira/browse/HIVE-20581
>             Project: Hive
>          Issue Type: Improvement
>          Components: Transactions
>            Reporter: Eugene Koifman
>            Assignee: Emily lozano d1751740 551913586
>            Priority: Major
>
> The {{MoveTask}} in a query writing to full CRUD transactional table still performs a
{{FileSystem.rename()}}.  Full CRUD should follow the insert-only transactional table implementation
and write directly to delta_x_x in the partition dir.  If the txn fails, this delta will be
marked aborted and will not be read.
> There are several places that rely on this rename.  For example, support for {{Insert
... select ... Union All ... Select }} which creates multiple dirs, 1 for each leg of the
union.
> Others?



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

Mime
View raw message