dengzhhu653 commented on PR #5201:
URL: https://github.com/apache/hive/pull/5201#issuecomment-2068048343

   > > > Hi, is that some legacy way how we handled the metastore upgrade 
scripts at an old Hive version?
   > > 
   > > 
   > > The upgrade story is almost the same, while these deleted scripts are 
for Hive version <= 2.3(including the upgrade scripts). For the scripts target 
at 1.x or 0.x, I think we can remove them safety. For the scripts target at 
2.x, the branch 2.x already contains the scripts for initializing, we don't 
need to keep them on the 4.x branch, the scripts under 
https://github.com/apache/hive/tree/master/standalone-metastore/metastore-server/src/main/sql/postgres
 can upgrade to the latest version from any releases that newer than 1.2.0, so 
I remove the upgrade scripts from the directories as well.
   > 
   > what if customer decided to upgrade from 2.0 to 4.0, won't we miss some of 
the upgrade script?
   
   
https://github.com/apache/hive/tree/master/standalone-metastore/metastore-server/src/main/sql/postgres
 this directory contains the scripts for upgrading to 4.0, 
   
   
https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/sql/postgres/upgrade.order.postgres


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