ClickHouse/tests/queries/0_stateless/02915_analyzer_fuzz_5.sql

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

7 lines
371 B
MySQL
Raw Normal View History

2024-07-12 12:49:26 +00:00
set enable_analyzer=1;
2023-11-22 12:52:23 +00:00
SET max_block_size = 1000;
SET max_threads = 4;
SET max_rows_to_group_by = 3000, group_by_overflow_mode = 'any';
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;