public static TableDesc getDefaultTableDesc(String separatorCode,
      String columns, String columnTypes, boolean lastColumnTakesRestOfTheLine) {
    return getTableDesc(getDefaultSerDe(), separatorCode, columns,
        columnTypes, null, lastColumnTakesRestOfTheLine);
  }
Generate the table descriptor of MetadataTypedColumnsetSerDe with the
separatorCode and column names (comma separated string), and whether the
last column should take the rest of the line.
ql/src/java/org/apache/hadoop/hive/ql/plan/PlanUtils.java