public void createTable(String tableName, List<String> columns,
      List<String> partCols, Class<? extends InputFormat> fileInputFormat,
      Class<?> fileOutputFormat, int bucketCount, List<String> bucketCols)
      throws HiveException {
    createTable(tableName, columns, partCols, fileInputFormat, fileOutputFormat, bucketCount,
        bucketCols, 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
@param bucketCount
         number of buckets that each partition (or the table itself) should
         be divided into
@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