private void setStatsPropAndAlterPartition(boolean resetStatistics, Table tbl,
                                             Partition newTPart, TableSnapshot tableSnapshot) throws TException {
    EnvironmentContext ec = new EnvironmentContext();
    if (!resetStatistics) {
      ec.putToProperties(StatsSetupConst.DO_NOT_UPDATE_STATS, StatsSetupConst.TRUE);
    }
    LOG.debug("Altering existing partition " + newTPart.getSpec());
    getSynchronizedMSC().alter_partition(tbl.getCatName(),
        tbl.getDbName(), tbl.getTableName(), newTPart.getTPartition(), new EnvironmentContext(),
        tableSnapshot == null ? null : tableSnapshot.getValidWriteIdList());
  }
Load Data commands for fullAcid tables write to base_x (if there is overwrite clause) or
delta_x_x directory - same as any other Acid write.  This method modifies the destPath to add
this path component.
@param writeId - write id of the operated table from current transaction (in which this operation is running)
@param stmtId - see {@link DbTxnManager#getStmtIdAndIncrement()}
@return appropriately modified path
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java