pick from master #46384
This commit is contained in:
@ -321,7 +321,11 @@ public class InsertIntoTableCommand extends Command implements ForwardWithSync,
|
||||
|
||||
@Override
|
||||
public Plan getExplainPlan(ConnectContext ctx) {
|
||||
return InsertUtils.getPlanForExplain(ctx, this.logicalQuery);
|
||||
Plan plan = InsertUtils.getPlanForExplain(ctx, this.logicalQuery);
|
||||
if (cte.isPresent()) {
|
||||
plan = cte.get().withChildren(plan);
|
||||
}
|
||||
return plan;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user