@Category(ManualIT.class)
  @Test
  public void testConcurrentFlushAndRandomDeletion()
      throws InterruptedException, ExecutionException, SQLException {
    int testNum = 22;
    try (Connection connection = EnvFactory.getEnv().getConnection(BaseEnv.TABLE_SQL_DIALECT);
        Statement statement = connection.createStatement()) {
      statement.execute("drop database if exists test");
      statement.execute(
          "SET CONFIGURATION inner_compaction_task_selection_mods_file_threshold='1024'");
    }

    AtomicLong writtenPointCounter = new AtomicLong(-1);
    AtomicLong deletedPointCounter = new AtomicLong(0);
    int fileNumMax = 1000;
    int pointPerFile = 1000;
    int deviceNum = 4;
    ExecutorService threadPool = Executors.newCachedThreadPool();
    Future<Void> writeThread =
        threadPool.submit(
            () ->
                write(
                    writtenPointCounter,
                    threadPool,
                    fileNumMax,
                    pointPerFile,
                    deviceNum,
                    testNum,
                    true));
    int deletionRange = 100;
    int minIntervalToRecord = 1000;
    Future<Void> deletionThread =
        threadPool.submit(
            () ->
                randomDeletion(
                    writtenPointCounter,
                    deletedPointCounter,
                    threadPool,
                    fileNumMax,
                    pointPerFile,
                    deletionRange,
                    minIntervalToRecord,
                    testNum));
    writeThread.get();
    deletionThread.get();
    threadPool.shutdown();
    boolean success = threadPool.awaitTermination(1, TimeUnit.MINUTES);
    assertTrue(success);

    try (Connection connection = EnvFactory.getEnv().getConnection(BaseEnv.TABLE_SQL_DIALECT);
        Statement statement = connection.createStatement()) {
      statement.execute("drop database if exists test");
    }
  }
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