ClickHouse/tests/queries/0_stateless/00752_low_cardinality_lambda_argument.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

7 lines
271 B
SQL

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;