[fix](planner) should return outputTupleDesc's id instead of tupleIds if outputTupleDesc is set in Plan Node (#30150)

This commit is contained in:
starocean999
2024-01-22 13:35:55 +08:00
committed by yiguolei
parent e5dea910bf
commit 24c0900b41
3 changed files with 73 additions and 0 deletions

View File

@ -384,6 +384,9 @@ public abstract class PlanNode extends TreeNode<PlanNode> implements PlanStats {
}
public List<TupleId> getOutputTupleIds() {
if (outputTupleDesc != null) {
return Lists.newArrayList(outputTupleDesc.getId());
}
return tupleIds;
}