Updated test. [#CLICKHOUSE-3621]

This commit is contained in:
Nikolai Kochetov 2018-08-14 20:14:48 +03:00
parent 26f464a4f9
commit 2f0f7eacbf
2 changed files with 14 additions and 1 deletions

View File

@ -10,3 +10,11 @@ ab
ab
ab
ab
-
a LowCardinality(String) LowCardinality(UInt64)
a
ab
c
d
cb
db

View File

@ -65,5 +65,10 @@ drop table if exists test.lc_fix_str_1;
drop table if exists test.lc_null_fix_str_0;
drop table if exists test.lc_null_fix_str_1;
select '-';
SELECT toLowCardinality('a') AS s, toTypeName(s), toTypeName(length(s)) from system.one;
select toLowCardinality('a') as val group by val;
select (toLowCardinality('a') as val) || 'b' group by val;
select toLowCardinality(z) as val from (select arrayJoin(['c', 'd']) as z) group by val;
select (toLowCardinality(z) as val) || 'b' from (select arrayJoin(['c', 'd']) as z) group by val;