From 289c983f174c0ffaf947d58b1e5a3d59eca38b2f Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Tue, 2 Jun 2020 13:52:05 +0300 Subject: [PATCH] Add test. --- .../0_stateless/01293_external_sorting_limit_bug.reference | 0 tests/queries/0_stateless/01293_external_sorting_limit_bug.sql | 1 + 2 files changed, 1 insertion(+) create mode 100644 tests/queries/0_stateless/01293_external_sorting_limit_bug.reference create mode 100644 tests/queries/0_stateless/01293_external_sorting_limit_bug.sql diff --git a/tests/queries/0_stateless/01293_external_sorting_limit_bug.reference b/tests/queries/0_stateless/01293_external_sorting_limit_bug.reference new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/queries/0_stateless/01293_external_sorting_limit_bug.sql b/tests/queries/0_stateless/01293_external_sorting_limit_bug.sql new file mode 100644 index 00000000000..570ec4b8c3c --- /dev/null +++ b/tests/queries/0_stateless/01293_external_sorting_limit_bug.sql @@ -0,0 +1 @@ +SELECT number FROM (SELECT number FROM system.numbers LIMIT 999990) ORDER BY number ASC LIMIT 100, 65535 SETTINGS max_bytes_before_external_sort = 1000000 format Null