@Override
  public List<PlanNode> visitDeviceTableScan(
      final DeviceTableScanNode node, final PlanContext context) {
    if (context.isPushDownGrouping()) {
      return constructDeviceTableScanByTags(node, context);
    } else {
      return constructDeviceTableScanByRegionReplicaSet(node, context);
    }
  }
This class is used to generate distributed plan for table model.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/distribute/TableDistributedPlanGenerator.java