presto-main/src/main/java/io/prestosql/sql/planner/plan/SpatialJoinNode.java/SpatialJoinNode/replaceChildren
class SpatialJoinNode:    @Override
    public PlanNode replaceChildren(List<PlanNode> newChildren)
    {
        checkArgument(newChildren.size() == 2, "expected newChildren to contain 2 nodes");
        return new SpatialJoinNode(getId(), type, newChildren.get(0), newChildren.get(1), outputSymbols, filter, leftPartitionSymbol, rightPartitionSymbol, kdbTree);
    }