public PlanNode rewrite(PlanNode node) {
      return rewrite(node, null);
    }
This method is meant for invoking the rewrite logic on children while processing a node
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/SimplePlanRewriter.java