ClickHouse/tests/queries/0_stateless/03052_query_hash_includes_aliases.sql

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

33 lines
442 B
MySQL
Raw Normal View History

2024-04-02 17:29:01 +00:00
-- https://github.com/ClickHouse/ClickHouse/pull/40065
SET allow_experimental_analyzer=1;
2024-04-02 17:29:01 +00:00
SELECT
(
SELECT
1 AS number,
number
FROM numbers(1)
) AS s,
(
SELECT
1,
number
FROM numbers(1)
) AS s2;
SELECT
(
SELECT
1 + 2 AS number,
1 + number AS b
FROM system.numbers
LIMIT 10, 1
),
(
SELECT
1 + 2 AS number2,
1 + number AS b
FROM system.numbers
LIMIT 10, 1
);