public void alterTable(String fullyQlfdTblName, Table newTbl, boolean cascade,
                         EnvironmentContext environmentContext, boolean transactional, long writeId)
          throws HiveException {
    String[] names = Utilities.getDbTableName(fullyQlfdTblName);
    alterTable(null, names[0], names[1], newTbl, cascade, environmentContext, transactional,
                writeId);
  }
Updates the existing table metadata with the new metadata.

@param fullyQlfdTblName
         name of the existing table
@param newTbl
         new name of the table. could be the old name
@param transactional
         Need to generate and save a table snapshot into the metastore?
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java