public static void checkDataTypeWithEncoding(TSDataType dataType, TSEncoding encoding)
      throws MetadataException {
    if (!encoding.isSupported(dataType)) {
      throw new MetadataException(
          String.format("encoding %s does not support %s", encoding, dataType), true);
    }
  }
judge whether the order of aggregation calculation is consistent with the order of traversing
data
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/SchemaUtils.java