[
https://issues.apache.org/jira/browse/HIVE-26112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17516820#comment-17516820
]
Peter Vary commented on HIVE-26112:
-----------------------------------
metastore/scripts/upgrade/hive should contain only the hive sysdb upgrade
scripts.
upgrade-3.2.0-to-4.0.0-alpha-1.derby.sql is derby HDM DB upgrade script.
It is perfectly legal :) to have different upgrade path-s for the sysdb, and
for the HMS DB init scripts.
The goal is that the tables generated by the sysdb scrips should allow access
to the data generated by the HMS DB scripts.
Also there might be some omission here and there, but it should be intentional
and reserved for cases where we do not want to expose some internal data to the
end users.
> Missing scripts for metastore
> -----------------------------
>
> Key: HIVE-26112
> URL: https://issues.apache.org/jira/browse/HIVE-26112
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 4.0.0-alpha-2
> Reporter: Alessandro Solimando
> Priority: Blocker
> Fix For: 4.0.0-alpha-2
>
>
> The version of the scripts for _metastore_ and _standalone-metastore_ should
> be in sync, but at the moment for the metastore side we are missing 3.2.0
> scripts (in _metastore/scripts/upgrade/hive_), while they are present in the
> standalone_metastore counterpart(s):
> * upgrade-3.1.0-to-3.2.0.derby.sql
> * upgrade-3.2.0-to-4.0.0-alpha-1.derby.sql
> * upgrade-4.0.0-alpha-1-to-4.0.0-alpha-2.hive.sql
--
This message was sent by Atlassian Jira
(v8.20.1#820001)