ClickHouse/dbms/tests/queries/0_stateless/00266_read_overflow_mode.sql

2 lines
200 B
MySQL
Raw Normal View History

2015-11-05 12:42:54 +00:00
SELECT number AS k FROM (SELECT number FROM system.numbers LIMIT 110000 SETTINGS max_result_rows = 0) GROUP BY k ORDER BY k LIMIT 10 SETTINGS max_result_rows = 100000, result_overflow_mode = 'break';