Description
call.transformTo(parent.copy(parent.getTraitSet(), ImmutableList.of(relBuilder.build())));
When parent is an union operator which has 2 inputs, the parent.copy will only copy the one that has SortLimit and ignore the other branches.
call.transformTo(parent.copy(parent.getTraitSet(), ImmutableList.of(relBuilder.build())));
When parent is an union operator which has 2 inputs, the parent.copy will only copy the one that has SortLimit and ignore the other branches.