ClickHouse/tests/queries/0_stateless/02954_analyzer_fuzz_i57086.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
369 B
MySQL
Raw Normal View History

2023-12-27 16:05:37 +00:00
--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;