private void addPartition(boolean hasMorePartitions, AlterTableAddPartitionDesc addPartitionDesc)
          throws Exception {
    boolean processingComplete = addTasksForPartition(table, addPartitionDesc, null);
    //If processing is not complete, means replication state is already updated with copy tasks which need
    //to be processed
    if (processingComplete && hasMorePartitions && !tracker.canAddMoreTasks()) {
      ReplicationState currentReplicationState =
          new ReplicationState(new PartitionState(table.getTableName(), addPartitionDesc));
      updateReplicationState(currentReplicationState);
    }
  }
Get all partitions in a batch and consolidate them into single partition request.
Also, copy relevant stats and other information from original request.

@throws SemanticException
@param lastAlterTableAddPartitionDesc
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadPartitions.java