@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    if (!super.equals(o)) {
      return false;
    }
    OffsetNode that = (OffsetNode) o;
    return offset == that.offset;
  }
OffsetNode is used to skip top n result from upstream nodes. It uses the default order of
upstream nodes
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/process/OffsetNode.java