Skip to content

Commit

Permalink
Make slow query slower
Browse files Browse the repository at this point in the history
  • Loading branch information
losipiuk committed Jan 31, 2024
1 parent c1a65cd commit 18d3576
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void testMetadataOnlyQueries()
.build();

String slowTableName = "blackhole.default.testMetadataOnlyQueries_" + randomNameSuffix();
assertUpdate("CREATE TABLE " + slowTableName + " (a INT, b INT) WITH (split_count = 3, pages_per_split = 1, rows_per_page = 1, page_processing_delay = '60s')");
assertUpdate("CREATE TABLE " + slowTableName + " (a INT, b INT) WITH (split_count = 3, pages_per_split = 1, rows_per_page = 1, page_processing_delay = '1d')");

String slowQuery = "select count(*) FROM " + slowTableName;
String nonMetadataQuery = "select count(*) non_metadata_query_count_" + System.currentTimeMillis() + " from nation";
Expand Down

0 comments on commit 18d3576

Please sign in to comment.