mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Add tests for 43202
This commit is contained in:
parent
46acd8736c
commit
8cdc7b42c8
@ -0,0 +1,9 @@
|
||||
\N
|
||||
|
||||
\N
|
||||
\N
|
||||
|
||||
\N
|
||||
1048575 \N \N
|
||||
|
||||
1048575 \N \N
|
5
tests/queries/0_stateless/02932_group_by_null_fuzzer.sql
Normal file
5
tests/queries/0_stateless/02932_group_by_null_fuzzer.sql
Normal file
@ -0,0 +1,5 @@
|
||||
-- https://github.com/ClickHouse/ClickHouse/issues/43202
|
||||
-- Queries are generated by the fuzzer, so don't expect them to make sense
|
||||
SELECT NULL, '' FROM (SELECT toNullable(''), NULL AS key GROUP BY GROUPING SETS ((NULL))) AS s1 ALL LEFT JOIN (SELECT '' AS key, NULL AS value GROUP BY GROUPING SETS (('')) WITH TOTALS UNION ALL SELECT NULL AS key, toNullable(NULL) AS value GROUP BY '', NULL, '' WITH TOTALS) AS s2 USING (key);
|
||||
SELECT NULL GROUP BY NULL WITH TOTALS;
|
||||
SELECT 1048575, NULL, b FROM (SELECT '25.5' AS a, NULL, NULL AS b GROUP BY GROUPING SETS ((0.0001)) WITH TOTALS) AS js1 ANY RIGHT JOIN (SELECT NULL AS a, NULL AS b WHERE NULL GROUP BY NULL, -9223372036854775807 WITH CUBE WITH TOTALS UNION ALL SELECT NULL AS a, NULL AS b GROUP BY 1, '21474836.46' WITH TOTALS) AS js2 USING (a, b) ORDER BY nan DESC NULLS LAST, '9223372036854775807' DESC NULLS LAST, a ASC NULLS LAST;
|
Loading…
Reference in New Issue
Block a user