[enhancement](Nereids): add phase in shape string (#26682)

This commit is contained in:
谢健
2023-11-10 14:56:28 +08:00
committed by GitHub
parent 5c3fed216d
commit ce64f0c917
233 changed files with 568 additions and 553 deletions

View File

@ -164,6 +164,11 @@ public class PhysicalLimit<CHILD_TYPE extends Plan> extends PhysicalUnary<CHILD_
);
}
@Override
public String shapeInfo() {
return this.getClass().getSimpleName() + "[" + phase + "]";
}
@Override
public List<Slot> computeOutput() {
return child().getOutput();

View File

@ -99,6 +99,11 @@ public class PhysicalQuickSort<CHILD_TYPE extends Plan> extends AbstractPhysical
statistics, child());
}
@Override
public String shapeInfo() {
return this.getClass().getSimpleName() + "[" + phase + "]";
}
@Override
public String toString() {
return Utils.toSqlString("PhysicalQuickSort[" + id.asInt() + "]" + getGroupIdWithPrefix(),

View File

@ -147,6 +147,11 @@ public class PhysicalTopN<CHILD_TYPE extends Plan> extends AbstractPhysicalSort<
groupExpression, getLogicalProperties(), physicalProperties, statistics, child());
}
@Override
public String shapeInfo() {
return this.getClass().getSimpleName() + "[" + phase + "]";
}
@Override
public String toString() {
return Utils.toSqlString("PhysicalTopN[" + id.asInt() + "]" + getGroupIdWithPrefix(),