private boolean prefixMatched(OrderingScheme childOrdering, List<Symbol> preGroupedSymbols) {
    List<Symbol> orderKeys = childOrdering.getOrderBy();
    if (orderKeys.size() < preGroupedSymbols.size()) {
      return false;
    }

    for (int i = 0; i < preGroupedSymbols.size(); i++) {
      if (!orderKeys.get(i).equals(preGroupedSymbols.get(i))) {
        return false;
      }
    }
    return true;
  }
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