Abhay created HIVE-26814:
----------------------------
Summary: Atomic Schema Upgrade for HMS
Key: HIVE-26814
URL: https://issues.apache.org/jira/browse/HIVE-26814
Project: Hive
Issue Type: Improvement
Components: Metastore
Reporter: Abhay
Assignee: Abhay
Currently, as schematool applies schema changes during an upgrade, each change
is autocommitted. So if it fails after applying a few changes from an upgrade
file, those changes remain in the schema. So re-running the schematool fails at
the first line because that change already exists.
Instead, we should create a transactional boundary between each upgrade file,
aka commit only after all the changes in an upgrade file are successful.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)