mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Added test [#METR-23539].
This commit is contained in:
parent
6d914bc4db
commit
643c2b747a
@ -0,0 +1,4 @@
|
||||
hello 1
|
||||
world 2
|
||||
|
||||
hello 3
|
@ -0,0 +1,6 @@
|
||||
DROP TABLE IF EXISTS test.enum_totals;
|
||||
CREATE TABLE test.enum_totals (e Enum8('hello' = 1, 'world' = 2)) ENGINE = Memory;
|
||||
INSERT INTO test.enum_totals VALUES ('hello'), ('world'), ('world');
|
||||
|
||||
SELECT e, count() FROM test.enum_totals GROUP BY e WITH TOTALS ORDER BY e;
|
||||
DROP TABLE test.enum_totals;
|
Loading…
Reference in New Issue
Block a user