ClickHouse/tests/queries/0_stateless/01039_mergetree_exec_time.sql

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

6 lines
319 B
MySQL
Raw Normal View History

2020-02-25 12:28:06 +00:00
DROP TABLE IF EXISTS tab;
2020-06-27 21:18:27 +00:00
create table tab (A Int64) Engine=MergeTree order by tuple() SETTINGS min_bytes_for_wide_part = 0;
2020-02-25 12:28:06 +00:00
insert into tab select cityHash64(number) from numbers(1000);
select sum(sleep(0.1)) from tab settings max_block_size = 1, max_execution_time=1; -- { serverError 159 }
DROP TABLE IF EXISTS tab;