private InputCollection<?> handleSplitTarget(PCollectionImpl<?> splitTarget) {
if (!outputs.containsKey(splitTarget)) {
outputs.put(splitTarget, Sets.<Target> newHashSet());
}
SourceTarget srcTarget = null;
Target targetToReplace = null;
for (Target t : outputs.get(splitTarget)) {
if (t instanceof SourceTarget) {
srcTarget = (SourceTarget<?>) t;
break;