You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Igor Kryvenko (JIRA)" <ji...@apache.org> on 2019/01/09 12:15:00 UTC

[jira] [Work started] (HIVE-21036) extend OpenTxnRequest with transaction type

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

Work on HIVE-21036 started by Igor Kryvenko.
--------------------------------------------
> extend OpenTxnRequest with transaction type
> -------------------------------------------
>
>                 Key: HIVE-21036
>                 URL: https://issues.apache.org/jira/browse/HIVE-21036
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 4.0.0
>            Reporter: Eugene Koifman
>            Assignee: Igor Kryvenko
>            Priority: Major
>
> There is a {{TXN_TYPE}} field in {{TXNS}} table.
> There is {{TxnHandler.TxnType}} with legal values.  It would be useful to TxnType a {{Thrift}}, add a new {{COMPACTION}} type object and allow setting it in {{OpenTxnRequest}}.
> Since HIVE-20823 compactor starts a txn and should set this.
> Down the road we may want to set READ_ONLY either based on parsing of the query or user input which can make {{TxnHandler.commitTxn}} faster.



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