mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 21:03:51 +00:00
6 lines
258 B
SQL
6 lines
258 B
SQL
drop table if exists test;
|
|
create table test (key Int) engine=MergeTree() order by tuple() settings ratio_of_defaults_for_sparse_serialization=0.1;
|
|
insert into test select 0 from numbers(10);
|
|
select arrayMap(x -> (x <= key), [1]) from test;
|
|
drop table test;
|