ClickHouse/tests/queries/0_stateless/00752_low_cardinality_lambda_argument.sql

7 lines
271 B
MySQL
Raw Normal View History

drop table if exists lc_lambda;
create table lc_lambda (arr Array(LowCardinality(UInt64))) engine = Memory;
insert into lc_lambda select range(number) from system.numbers limit 10;
select arrayFilter(x -> x % 2 == 0, arr) from lc_lambda;
drop table if exists lc_lambda;
2018-11-22 15:52:26 +00:00