ClickHouse/tests/queries/0_stateless/02786_max_execution_time_leaf.sql
Duc Canh Le 8c1768f45f more stable test to tsan
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-11-02 09:41:39 +00:00

5 lines
399 B
SQL

-- Tags: no-fasttest
SELECT count() FROM cluster('test_cluster_two_shards', view( SELECT * FROM numbers(100000000000) )) SETTINGS max_execution_time_leaf = 1; -- { serverError 159 }
-- Can return partial result
SELECT count() FROM cluster('test_cluster_two_shards', view( SELECT * FROM numbers(100000000000) )) FORMAT Null SETTINGS max_execution_time_leaf = 1, timeout_overflow_mode_leaf = 'break';