diff --git a/dbms/tests/queries/0_stateless/00266_read_overflow_mode.reference b/dbms/tests/queries/0_stateless/00266_read_overflow_mode.reference new file mode 100644 index 00000000000..8b1acc12b63 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00266_read_overflow_mode.reference @@ -0,0 +1,10 @@ +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 diff --git a/dbms/tests/queries/0_stateless/00266_read_overflow_mode.sql b/dbms/tests/queries/0_stateless/00266_read_overflow_mode.sql new file mode 100644 index 00000000000..968e88c582b --- /dev/null +++ b/dbms/tests/queries/0_stateless/00266_read_overflow_mode.sql @@ -0,0 +1 @@ +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';