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