public void createTable(String tableName, List<String> columns,
      List<String> partCols, Class<? extends InputFormat> fileInputFormat,
      Class<?> fileOutputFormat) throws HiveException {
    this.createTable(tableName, columns, partCols, fileInputFormat,
        fileOutputFormat, -1, null);
  }
Creates a table metadata and the directory for the table data

@param tableName
         name of the table
@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
@throws HiveException
          thrown if the args are invalid or if the metadata or the data
          directory couldn't be created
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java