Add a test for #38383

This commit is contained in:
Alexey Milovidov 2022-09-18 10:38:10 +02:00
parent 76aaecf1aa
commit 56fd38de44
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,10 @@
0 999999 999999
0 999998 999998
0 999997 999997
0 999996 999996
0 999995 999995
0 999994 999994
0 999993 999993
0 999992 999992
0 999991 999991
0 999990 999990

View File

@ -0,0 +1 @@
SELECT * FROM (SELECT * FROM (SELECT 0 AS a, toNullable(number) AS b, toString(number) AS c FROM numbers(1000000.)) ORDER BY a DESC, b DESC, c ASC LIMIT 1500) LIMIT 10;