pcollection = pcollection.parallelDo("UnionCollectionWrapper",
(MapFn) IdentityFn.<Object> getInstance(), pcollection.getPType());
}
target.handleExisting(writeMode, getConfiguration());
if (writeMode != WriteMode.APPEND && targetInCurrentRun(target)) {
throw new CrunchRuntimeException("Target " + target + " is already written in current run." +
" Use WriteMode.APPEND in order to write additional data to it.");
}
addOutput((PCollectionImpl<?>) pcollection, target);
}