private Void sequentialDeletion(
      AtomicLong writtenPointCounter,
      ExecutorService allThreads,
      int deletionRange,
      int deletionInterval,
      long deletionEnd,
      int testNum)
      throws SQLException, InterruptedException {
    // delete every 10 points in 100 points
    int deletionOffset = 0;
    long nextPointNumToDelete = deletionInterval;
    // pointPerFile * fileNumMax

    long deletedCnt = 0;

    try (Connection connection = EnvFactory.getEnv().getConnection(BaseEnv.TABLE_SQL_DIALECT);
        Statement statement = connection.createStatement()) {

      statement.execute("create database if not exists test");
      statement.execute("use test");
      while (deletionOffset < deletionEnd
          && nextPointNumToDelete < deletionEnd
          && !Thread.interrupted()) {
        if (writtenPointCounter.get() >= nextPointNumToDelete) {
          statement.execute(
              "delete from test.table"
                  + testNum
                  + " where time >= "
                  + deletionOffset
                  + " and time < "
                  + (deletionOffset + deletionRange));
          deletedCnt += deletionRange;
          LOGGER.info("{} points deleted", deletedCnt);

          try (ResultSet set =
              statement.executeQuery(
                  "select count(*) from table"
                      + testNum
                      + " where time < "
                      + nextPointNumToDelete)) {
            assertTrue(set.next());
            assertEquals(nextPointNumToDelete * 9 / 10, set.getLong(1));
          }
          deletionOffset += deletionInterval;
          nextPointNumToDelete += deletionInterval;

        } else {
          Thread.sleep(10);
        }
      }
    } catch (InterruptedException e) {
      Thread.currentThread().interrupt();
      return null;
    } catch (SQLException e) {
      if (e.getMessage().contains("Fail to reconnect")) {
        // restart triggered, ignore
        return null;
      } else {
        allThreads.shutdownNow();
        throw e;
      }
    } catch (Throwable e) {
      allThreads.shutdownNow();
      throw e;
    }
    return null;
  }
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