[fix](Nereids) deep copier generate wrong slot for TVF (#25156)
This commit is contained in:
@ -229,7 +229,7 @@ public class LogicalPlanDeepCopier extends DefaultPlanRewriter<DeepCopierContext
|
||||
}
|
||||
LogicalTVFRelation newTVFRelation = new LogicalTVFRelation(StatementScopeIdGenerator.newRelationId(),
|
||||
tvfRelation.getFunction());
|
||||
updateReplaceMapWithOutput(newTVFRelation, tvfRelation, context.exprIdReplaceMap);
|
||||
updateReplaceMapWithOutput(tvfRelation, newTVFRelation, context.exprIdReplaceMap);
|
||||
context.putRelation(tvfRelation.getRelationId(), newTVFRelation);
|
||||
return newTVFRelation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user