private List<TimeRange> mergeRanges(List<TimeRange> timeRanges) {
    timeRanges.sort(null);
    List<TimeRange> result = new ArrayList<>();
    TimeRange current = null;
    for (TimeRange timeRange : timeRanges) {
      if (current == null) {
        current = timeRange;
      } else {
        if (current.getMax() == timeRange.getMin() - 1) {
          current.setMax(timeRange.getMax());
        } else {
          result.add(current);
          current = timeRange;
        }
      }
    }
    result.add(current);
    return result;
  }
Should delete this case after the deletion value filter feature be implemented
integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBDeletionTableIT.java