ClickHouse/tests/queries/0_stateless/02831_ast_fuzz_asan_join.sql
2023-07-23 21:10:12 +00:00

23 lines
402 B
SQL

SELECT
'0',
toTypeName(materialize(js2.s))
FROM
(
SELECT number AS k
FROM numbers(100)
) AS js1
FULL OUTER JOIN
(
SELECT
toLowCardinality(2147483647 + 256) AS k,
'-0.0000000001',
1024,
toString(number + 10) AS s
FROM numbers(1024)
) AS js2 ON js1.k = js2.k
ORDER BY
inf DESC NULLS FIRST,
js1.k ASC NULLS LAST,
js2.k ASC
FORMAT `Null`