Skip to content

Commit

Permalink
[e2e] Add query service test with deletion vectors options
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowell committed Oct 10, 2024
1 parent 3120722 commit 6c036c8
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,20 @@ public void testQueryService() {
.doesNotThrowAnyException();
}

@Test
public void testQueryServiceWithDeletionVectors() {
sql(
"CREATE TABLE DIM (k INT, v STRING, PRIMARY KEY(k) NOT ENFORCED) WITH ('bucket' = '1', 'deletion-vectors.enabled' = 'true')");
sql("INSERT INTO DIM VALUES (1, 'a'), (2, 'b')");
assertThatCode(
() -> {
CloseableIterator<Row> service =
streamSqlIter("CALL sys.query_service('default.DIM', 1)");
service.close();
})
.doesNotThrowAnyException();
}

@Test
public void testRemoveOrphanFiles() {
sql(
Expand Down

0 comments on commit 6c036c8

Please sign in to comment.