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

7 lines
296 B
MySQL
Raw Normal View History

2018-11-22 15:52:26 +00:00
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;