mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-19 06:50:50 +00:00
8 lines
345 B
SQL
8 lines
345 B
SQL
set allow_experimental_low_cardinality_type = 1;
|
|
drop table if exists test.lc_lambda;
|
|
create table test.lc_lambda (arr Array(LowCardinality(UInt64))) engine = Memory;
|
|
insert into test.lc_lambda select range(number) from system.numbers limit 10;
|
|
select arrayFilter(x -> x % 2 == 0, arr) from test.lc_lambda;
|
|
drop table if exists test.lc_lambda;
|
|
|