public void alterTable(Table newTbl, boolean cascade, EnvironmentContext environmentContext,
      boolean transactional) throws HiveException {
    alterTable(newTbl.getCatName(), newTbl.getDbName(),
        newTbl.getTableName(), newTbl, cascade, environmentContext, transactional);
  }
Create a table metadata and the directory for the table data
@param tableName table name
@param columns list of fields of the table
@param partCols partition keys of the table
@param fileInputFormat Class of the input format of the table data file
@param fileOutputFormat Class of the output format of the table data file
@param bucketCount number of buckets that each partition (or the table itself) should be
                   divided into
@param bucketCols Bucket columns
@param parameters Parameters for the table
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java