public static RuntimeStat toThrift(MRuntimeStat stat) {
    RuntimeStat ret = new RuntimeStat();
    ret.setWeight(stat.weight);
    ret.setCreateTime(stat.createTime);
    ret.setPayload(stat.payload);
    return ret;
  }
Represents a runtime stat query entry.

As a query may contain a large number of operatorstat entries; they are stored together in a single row in the metastore.
The number of operator stat entries this entity has; is shown in the weight column.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/model/MRuntimeStat.java