@Deprecated
  default void alterTable(RawStore msdb, Warehouse wh, String catName, String dbname,
    String name, Table newTable, EnvironmentContext envContext)
      throws InvalidOperationException, MetaException {
    alterTable(msdb, wh, catName, dbname, name, newTable, envContext, null, null);
  }
@deprecated As of release 2.2.0. Replaced by {@link #alterTable(RawStore, Warehouse, String,
String, String, Table, EnvironmentContext, IHMSHandler, String)}

handles alter table, the changes could be cascaded to partitions if applicable

@param msdb
         object to get metadata
@param wh
         Hive Warehouse where table data is stored
@param catName
         catalog of the table being altered
@param dbname
         database of the table being altered
@param name
         original name of the table being altered. same as
         <i>newTable.tableName</i> if alter op is not a rename.
@param newTable
         new table object
@param envContext
         environment context variable
@throws InvalidOperationException
          thrown if the newTable object is invalid
@throws MetaException
          thrown if there is any other error
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/AlterHandler.java