mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Add test for #57086
This commit is contained in:
parent
745d9bb47f
commit
84727e986e
@ -0,0 +1,2 @@
|
||||
limit w/ GROUP BY 0 0
|
||||
limit w/ GROUP BY 0 0
|
15
tests/queries/0_stateless/02954_analyzer_fuzz_i57086.sql
Normal file
15
tests/queries/0_stateless/02954_analyzer_fuzz_i57086.sql
Normal file
@ -0,0 +1,15 @@
|
||||
--https://github.com/ClickHouse/ClickHouse/issues/57086
|
||||
SELECT
|
||||
'limit w/ GROUP BY',
|
||||
count(NULL),
|
||||
number
|
||||
FROM remote('127.{1,2}', view(
|
||||
SELECT intDiv(number, 2147483647) AS number
|
||||
FROM numbers(10)
|
||||
))
|
||||
GROUP BY number
|
||||
WITH ROLLUP
|
||||
ORDER BY
|
||||
count() ASC,
|
||||
number DESC NULLS LAST
|
||||
SETTINGS limit = 2, allow_experimental_analyzer = 1;
|
Loading…
Reference in New Issue
Block a user