@Override
  protected void serializeAttributes(DataOutputStream stream) throws IOException {
    PlanNodeType.OFFSET.serialize(stream);
    ReadWriteIOUtils.write(offset, stream);
  }
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