@Override
  public Operator visitRawDataAggregation(
      RawDataAggregationNode node, LocalExecutionPlanContext context) {
    Map<String, List<InputLocation>> layout;
    if (context.isBuildPlanUseTemplate()) {
      layout = context.getTemplatedInfo().getFilterLayoutMap();
    } else {
      layout = makeLayout(node);
    }
    return createRawDataAggregationOperator(node, context, layout);
  }
This Visitor is responsible for transferring PlanNode Tree to Operator Tree.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/OperatorTreeGenerator.java