ArgumentValidation.isTrue("flag == API.InputPreservationOption.DISCARD_INPUT",
flag == API.InputPreservationOption.DISCARD_INPUT);
outputInputTable = true;
} else if (outputRowType.ancestorOf(tableRowType)) {
ancestors.add(outputRowType.table());
} else if (tableRowType.ancestorOf(outputRowType)) {
if (branchOutputRowTypes == null)
branchOutputRowTypes = new ArrayList<>();
branchOutputRowTypes.add(outputRowType);
if (branchRoot != inputTable) {
// Get immediate child of input above desired output.