mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
Merge pull request #52950 from ClickHouse/fuzz-remove-redundant-sorting
Try to fix assert in remove redundant sorting
This commit is contained in:
commit
e528eab7f5
@ -0,0 +1,3 @@
|
||||
\N
|
||||
|
||||
\N
|
@ -0,0 +1,5 @@
|
||||
DROP TABLE IF EXISTS numbers500k;
|
||||
CREATE TABLE numbers500k (`number` UInt32) ENGINE = MergeTree() ORDER BY tuple();
|
||||
INSERT INTO numbers500k SELECT number FROM system.numbers LIMIT 500000;
|
||||
SELECT intDiv(number, NULL) AS k FROM (SELECT * FROM remote('127.0.0.{2,3}', currentDatabase(), numbers500k) PREWHERE 31 WHERE 65537 > 0 ORDER BY number DESC NULLS FIRST) GROUP BY GROUPING SETS ((k)) WITH TOTALS ORDER BY k ASC NULLS LAST LIMIT 2147483648;
|
||||
DROP TABLE IF EXISTS numbers500k;
|
Loading…
Reference in New Issue
Block a user