mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
This commit is contained in:
parent
44847fbb2f
commit
18402c6191
13
tests/queries/0_stateless/03040_alias_column_join.sql
Normal file
13
tests/queries/0_stateless/03040_alias_column_join.sql
Normal file
@ -0,0 +1,13 @@
|
||||
-- https://github.com/ClickHouse/ClickHouse/issues/44365
|
||||
DROP TABLE IF EXISTS 03040_test;
|
||||
|
||||
CREATE TABLE 03040_test
|
||||
(
|
||||
id UInt64,
|
||||
val String alias 'value: '||toString(id)
|
||||
) ENGINE = MergeTree
|
||||
ORDER BY tuple();
|
||||
|
||||
SELECT val FROM 03040_test t GROUP BY val;
|
||||
|
||||
DROP TABLE IF EXISTS 03040_test;
|
Loading…
Reference in New Issue
Block a user