Merge pull request #55662 from amosbird/fix-55643

Add a test to avoid incorrect decimal sorting
This commit is contained in:
Alexey Milovidov 2023-10-26 12:36:46 +02:00 committed by GitHub
commit ffcf1f02cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 601 additions and 0 deletions

View File

@ -0,0 +1,600 @@
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 1
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 3
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 5
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 7
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 9
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 11
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 13
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 15
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 17
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
-1 19
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 2
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 4
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 6
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 8
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 10
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 12
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 14
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 16
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18
0 18

View File

@ -0,0 +1 @@
select -number % 2 as i, toDecimal32(number % 20, 3) as j from numbers(600) order by i, j;