ClickHouse/tests/queries/0_stateless/01009_insert_select_data_loss.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
311 B
MySQL
Raw Normal View History

2019-09-11 13:57:39 +00:00
drop table if exists tab;
create table tab (x UInt64) engine = MergeTree order by tuple();
2023-02-20 18:26:39 +00:00
insert into tab select n from (SELECT number AS n FROM numbers(20)) nums
semi left join (select number * 10 as n from numbers(2)) js2 using(n)
settings max_block_size = 5;
2019-09-11 13:57:39 +00:00
select * from tab order by x;
drop table tab;