zhangbutao commented on code in PR #4474:
URL: https://github.com/apache/hive/pull/4474#discussion_r1285159125
##########
standalone-metastore/metastore-server/src/main/sql/derby/hive-schema-4.0.0-beta-1.derby.sql:
##########
@@ -306,6 +306,8 @@ CREATE INDEX "APP"."CONSTRAINTS_PARENT_TBL_ID_INDEX" ON
"APP"."KEY_CONSTRAINTS"(
CREATE INDEX "APP"."CONSTRAINTS_CONSTRAINT_TYPE_INDEX" ON
"APP"."KEY_CONSTRAINTS"("CONSTRAINT_TYPE");
+CREATE INDEX "APP"."PARTITION_KEY_VALS_IDX" ON
"APP"."PARTITION_KEY_VALS"("PART_KEY_VAL");
Review Comment:
If we change the latest version schema, we also should make sure the
privious schema to upgrade smoothly.
That is to say, we need to add this change in
`upgrade-4.0.0-alpha-2-to-4.0.0-beta-1.derby.sql`.
Maybe you can refer to HIVE-19605 to add the change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]