Add one more test case

This commit is contained in:
János Benjamin Antal 2024-07-08 16:22:12 +00:00
parent a177bb6307
commit 8b78cf1c61
2 changed files with 20 additions and 0 deletions

View File

@ -5,3 +5,15 @@ case 1
case 2
9990
18679 31
0
10
20
30
40
50
60
70
80
90
100
110

View File

@ -3,11 +3,13 @@ SELECT number FROM numbers_mt(10000)
WHERE (number % 10) = 0
ORDER BY number ASC
LIMIT 990, 3;
SELECT 'case 2';
SELECT number FROM numbers_mt(10000)
WHERE (number % 10) = 0
ORDER BY number ASC
LIMIT 999, 20 SETTINGS max_block_size = 31;
--- The following query was buggy before, so let's use it as a test case
WITH
toUInt64(-1) AS umax,
@ -35,3 +37,9 @@ WHERE is_prime_slow(num)
ORDER BY num ASC
LIMIT 998, 1
SETTINGS max_block_size = 64, max_threads=16;
SELECT number
FROM numbers_mt(120)
WHERE (number % 10) = 0
ORDER BY number ASC
SETTINGS max_block_size = 31, max_threads = 11