cxzl25 commented on code in PR #4474:
URL: https://github.com/apache/hive/pull/4474#discussion_r4373932426


##########
standalone-metastore/metastore-server/src/main/sql/mysql/hive-schema-4.3.0.mysql.sql:
##########
@@ -247,6 +247,7 @@ CREATE TABLE IF NOT EXISTS `PARTITION_KEY_VALS` (
   `INTEGER_IDX` int(11) NOT NULL,
   PRIMARY KEY (`PART_ID`,`INTEGER_IDX`),

Review Comment:
   Changing the PK rebuilds the whole PARTITION_KEY_VALS table (InnoDB 
clustered index), which is costly on large metastores.



-- 
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]

Reply via email to