You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kishen Das (Jira)" <ji...@apache.org> on 2021/07/22 16:50:00 UTC

[jira] [Created] (HIVE-25372) [Hive] Advance write ID for remaining DDLs

Kishen Das created HIVE-25372:
---------------------------------

             Summary: [Hive] Advance write ID for remaining DDLs
                 Key: HIVE-25372
                 URL: https://issues.apache.org/jira/browse/HIVE-25372
             Project: Hive
          Issue Type: Sub-task
          Components: HiveServer2
            Reporter: Kishen Das
            Assignee: Kishen Das


We guarantee data consistency for table metadata, when serving data from the HMS cache. HMS cache relies on Valid Write IDs to decide whether to serve from cache or refresh from the backing DB and serve, so we have to ensure we advance write IDs during all alter table flows. We have to ensure we advance the write ID for below DDLs.

AlterTableSetOwnerAnalyzer.java 
AlterTableSkewedByAnalyzer.java
AlterTableSetSerdeAnalyzer.java
AlterTableSetSerdePropsAnalyzer.java
AlterTableUnsetSerdePropsAnalyzer.java
AlterTableSetPartitionSpecAnalyzer
AlterTableClusterSortAnalyzer.java
AlterTableIntoBucketsAnalyzer.java
AlterTableConcatenateAnalyzer.java
AlterTableCompactAnalyzer.java
AlterTableSetFileFormatAnalyzer.java
AlterTableSetSkewedLocationAnalyzer.java



--
This message was sent by Atlassian Jira
(v8.3.4#803005)