ClickHouse/tests/queries/0_stateless/01623_constraints_column_swap.reference

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

54 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-04-24 15:25:15 +00:00
SELECT
2021-05-04 14:34:00 +00:00
(b AS `cityHash64(a)`) + 10 AS `plus(cityHash64(a), 10)`,
(b AS b) + 3 AS `plus(b, 3)`
2021-05-04 19:31:32 +00:00
FROM column_swap_test_test
2021-04-24 15:25:15 +00:00
WHERE b = 1
SELECT
2021-05-04 14:34:00 +00:00
(b AS `cityHash64(a)`) + 10 AS `plus(cityHash64(a), 10)`,
(b AS b) + 3 AS `plus(b, 3)`
2021-05-04 19:31:32 +00:00
FROM column_swap_test_test
2021-04-24 15:25:15 +00:00
WHERE b = 0
SELECT
2021-05-04 14:34:00 +00:00
(b AS `cityHash64(a)`) + 10 AS `plus(cityHash64(a), 10)`,
(b AS b) + 3 AS `plus(b, 3)`
2021-05-04 19:31:32 +00:00
FROM column_swap_test_test
2021-04-24 15:25:15 +00:00
WHERE b = 0
SELECT
2021-05-04 14:34:00 +00:00
(b AS `cityHash64(a)`) + 10 AS `plus(cityHash64(a), 10)`,
(b AS b) + 3 AS `plus(b, 3)`
2021-05-04 19:31:32 +00:00
FROM column_swap_test_test
2021-04-24 15:25:15 +00:00
WHERE b = 1
2021-05-04 14:34:00 +00:00
SELECT (b AS `cityHash64(a)`) + 10 AS `plus(cityHash64(a), 10)`
2021-05-04 19:31:32 +00:00
FROM column_swap_test_test
2021-04-29 18:13:32 +00:00
WHERE b = 0
SELECT
2021-05-04 14:34:00 +00:00
(cityHash64(a) AS `cityHash64(a)`) + 10 AS `plus(cityHash64(a), 10)`,
a AS a
2021-05-04 19:31:32 +00:00
FROM column_swap_test_test
2021-04-29 18:13:32 +00:00
WHERE cityHash64(a) = 0
SELECT
2021-05-04 14:34:00 +00:00
(cityHash64(a) AS b) + 10 AS `plus(b, 10)`,
a AS a
2021-05-04 19:31:32 +00:00
FROM column_swap_test_test
2021-04-29 18:13:32 +00:00
WHERE cityHash64(a) = 0
2021-04-24 15:25:15 +00:00
SELECT
2021-05-04 14:34:00 +00:00
a AS `substring(reverse(b), 1, 1)`,
a AS a
2021-05-04 19:31:32 +00:00
FROM column_swap_test_test
2021-04-24 15:25:15 +00:00
WHERE a = \'c\'
SELECT
2021-05-04 14:34:00 +00:00
a AS `substring(reverse(b), 1, 1)`,
a AS a
2021-05-04 19:31:32 +00:00
FROM column_swap_test_test
2021-04-24 15:25:15 +00:00
WHERE a = \'c\'
2021-05-04 14:34:00 +00:00
SELECT
a AS t1,
a AS t2
2021-05-04 19:31:32 +00:00
FROM column_swap_test_test
2021-05-04 14:34:00 +00:00
WHERE a = \'c\'
SELECT a AS `substring(reverse(b), 1, 1)`
2021-05-04 19:31:32 +00:00
FROM column_swap_test_test
2021-04-29 18:13:32 +00:00
WHERE a = \'c\'
2021-11-18 14:24:06 +00:00
SELECT a
2021-11-10 17:57:59 +00:00
FROM t_bad_constraint