ClickHouse/tests/queries/0_stateless/02028_create_select_settings.sql
2023-01-16 14:51:32 +03:00

4 lines
291 B
SQL

-- Tags: no-ordinary-database
create table test_table engine MergeTree order by a as select a_table.a, b_table.b_arr from (select arrayJoin(range(10000)) as a) a_table cross join (select range(10000) as b_arr) b_table settings max_memory_usage = 1; -- { serverError MEMORY_LIMIT_EXCEEDED }