@Deprecated
  default void alter_partitions(String catName, String dbName, String tblName,
                                List<Partition> newParts)
      throws InvalidOperationException, MetaException, TException {
    alter_partitions(catName, dbName, tblName, newParts, new EnvironmentContext(),  null, -1);
  }
updates a list of partitions
@param catName catalog name.
@param dbName
         database of the old partition
@param tblName
         table name of the old partition
@param newParts
         list of partitions
@throws InvalidOperationException
          if the old partition does not exist
@throws MetaException
          if error in updating metadata
@throws TException
          if error in communicating with metastore server
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java