Nikita Mikhaylov 2024-04-02 16:22:04 +00:00
parent 44847fbb2f
commit 18402c6191
2 changed files with 13 additions and 0 deletions

View 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;