public void addDateStats(ColumnStatisticsData cd, List<String> ls) {
    if (!cd.isSetDateStats()) {
      return;
    }
    DateColumnStatsData dt = cd.getDateStats();
    ls.add(lowValue + dt.getLowValue().getDaysSinceEpoch() + "'");
    ls.add(highValue + dt.getHighValue().getDaysSinceEpoch() + "'");
    ls.add(numNulls + dt.getNumNulls() + "'");
    ls.add(numDVs + dt.getNumDVs() + "'");
    return;
  }
Creates the alter table command to add a partition to the given table.

@param pt
@return
ql/src/java/org/apache/hadoop/hive/ql/exec/DDLPlanUtils.java