ClickHouse/tests/queries/0_stateless/00975_json_hang.sql
2021-09-12 17:15:28 +03:00

4 lines
154 B
SQL

-- Tags: no-fasttest
SELECT DISTINCT JSONExtractRaw(concat('{"x":', rand() % 2 ? 'true' : 'false', '}'), 'x') AS res FROM numbers(1000000) ORDER BY res;