private boolean judgeConvertOfOneDevice(List<List<String>> measurementsList) {
    int size = measurementsList.size();
    int sampleNum = (int) (size * SAMPLE_PROPORTION);
    List<Integer> indexList =
        ThreadLocalRandom.current()
            .ints(0, size)
            .distinct()
            .limit(sampleNum)
            .boxed()
            .collect(Collectors.toList());
    Set<String> allMeasurement =
        new HashSet<>(measurementsList.get(indexList.get(0)).size() + 1, 1);
    for (int i = 0; i < sampleNum; i++) {
      allMeasurement.addAll(measurementsList.get(indexList.get(i)));
    }
    for (int i = 0; i < sampleNum; i++) {
      if ((double) measurementsList.get(indexList.get(i)).size() / allMeasurement.size()
          < CONVERT_THRESHOLD) {
        return false;
      }
    }
    return true;
  }
insert aligned data of several devices. Given a device, for each timestamp, the number of
measurements is the same.

@param tablets data batch in multiple device
@param sorted deprecated, whether times in each Tablet are in ascending order
iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java