public static List<String> getColumnStatisticsHeaders(boolean histogramEnabled) {
    ImmutableList.Builder<String> builder = ImmutableList.<String>builder()
        .add("col_name")
        .add("data_type")
        .addAll(PURE_STATISTICS_HEADERS);

    if (histogramEnabled) {
      builder.add("histogram");
    }

    builder.add("comment");
    return builder.build();
  }
DDL task description for DESC table_name commands.
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/desc/DescTableDesc.java