asolimando commented on code in PR #3137: URL: https://github.com/apache/hive/pull/3137#discussion_r1039328901
########## standalone-metastore/metastore-server/src/main/sql/mysql/upgrade-4.0.0-alpha-2-to-4.0.0.mysql.sql: ########## @@ -1,5 +1,9 @@ SELECT 'Upgrading MetaStore schema from 4.0.0-alpha-2 to 4.0.0' AS MESSAGE; +-- HIVE-26221 +ALTER TABLE TAB_COL_STATS ADD HISTOGRAM blob; +ALTER TABLE PART_COL_STATS ADD HISTOGRAM blob; Review Comment: You are right, the result would be different in the case of an upgrade w.r.t. using 4.0.0 schema directly, I have modified the 4.0.0 scripts to put the new column at the very end. -- 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]
