public String getAlterTableStmtTableStatsBasic(Table tbl) {
    Map<String, String> parameters = tbl.getParameters();
    ST command = new ST(ALTER_TABLE_UPDATE_STATISTICS_TABLE_BASIC);
    command.add(TABLE_NAME, unparseIdentifier(tbl.getTableName()));
    command.add(DATABASE_NAME, unparseIdentifier(tbl.getDbName()));
    command.add(TBLPROPERTIES, paramToValues(parameters));
    return command.render();
  }
Parses the basic table statistics for the given table.

@param tbl
@return Returns the alter table .... update statistics for table
ql/src/java/org/apache/hadoop/hive/ql/exec/DDLPlanUtils.java