presto-main/src/main/java/io/prestosql/sql/planner/plan/TableFinishNode.java/TableFinishNode/replaceChildren
class TableFinishNode:    @Override
    public PlanNode replaceChildren(List<PlanNode> newChildren)
    {
        return new TableFinishNode(
                getId(),
                Iterables.getOnlyElement(newChildren),
                target,
                rowCountSymbol,
                statisticsAggregation,
                statisticsAggregationDescriptor);
    }