@Override
  public PlanNode clone() {
    return new SeriesSchemaFetchScanNode(
        getPlanNodeId(),
        storageGroup,
        patternTree,
        templateMap,
        withTags,
        withAttributes,
        withTemplate,
        withAliasForce);
  }
This class defines the scan task of schema fetcher.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/metadata/read/SeriesSchemaFetchScanNode.java