hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Yeom (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19417) Modify metastore to have/access persistent tables for stats
Date Wed, 30 May 2018 18:58:00 GMT

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

Steve Yeom commented on HIVE-19417:
-----------------------------------

1. MetaStore Schema Changes for the patch 04
1.1 New table UPD_TXNS
  A record is created per transaction per table.
  - UPDATE_ID: primary key column, generated by Datanucleus when specified at "package.jdo"
as datastore-identity
  - TBL_ID: TBLS.TBL_ID referencing column. A foreign key is created for this column referencing
TBLS.TBL_ID.
  - STATE: this is deleted for the next patch version. 
  - TXN_ID: Transaction id of the transaction to insert the row.
  - WRITEID_LIST: writeIdList for the table of the transaction

1.2 Modification for TBLS and PARTITIONS tables
  - A new column TXN_ID: transaction id of the UPD_TXNS. 

> Modify metastore to have/access persistent tables for stats
> -----------------------------------------------------------
>
>                 Key: HIVE-19417
>                 URL: https://issues.apache.org/jira/browse/HIVE-19417
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Transactions
>    Affects Versions: 3.0.0
>            Reporter: Steve Yeom
>            Assignee: Steve Yeom
>            Priority: Major
>         Attachments: HIVE-19417.01.patch, HIVE-19417.02.patch, HIVE-19417.03.patch, HIVE-19417.04.patch
>
>




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

Mime
View raw message