public void addBinaryStats(ColumnStatisticsData cd, List<String> ls) {
    if (!cd.isSetBinaryStats()) {
      return;
    }
    BinaryColumnStatsData bd = cd.getBinaryStats();
    ls.add(avgColLen + bd.getAvgColLen() + "'");
    ls.add(maxColLen + bd.getMaxColLen() + "'");
    ls.add(numNulls + bd.getNumNulls() + "'");
    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