create table t_lz4(a UInt64) engine=MergeTree order by tuple()
create table t_lz4_norm(a UInt64) engine=MergeTree order by tuple()
create table t_lz4_uncomp(a UInt32) engine=MergeTree order by a
insert into t_lz4 select number % 100 from numbers_mt(5e7) order by rand()
optimize table t_lz4 final
insert into t_lz4_norm select number from numbers_mt(5e7) order by rand()
optimize table t_lz4_norm final
insert into t_lz4_uncomp select number from numbers_mt(5e7)
optimize table t_lz4_uncomp final
select a from t_lz4 format Null
select a from t_lz4_norm format Null
select a from t_lz4_uncomp format Null
drop table t_lz4
drop table t_lz4_norm
drop table t_lz4_uncomp