mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Added test [#CLICKHOUSE-2877].
This commit is contained in:
parent
4311a09a9f
commit
724599a369
@ -0,0 +1,90 @@
|
||||
aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa 1 0 0 0 1 1 aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa 1 0 0 0 1 1
|
||||
aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaab 0 1 1 0 1 0 aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaab 0 1 1 0 1 0
|
||||
aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaac 0 1 1 0 1 0 aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaac 0 1 1 0 1 0
|
||||
aaaaaaaaaaaaaaaa aaaaaaaabaaaaaaa 0 1 1 0 1 0 aaaaaaaaaaaaaaaa aaaaaaaabaaaaaaa 0 1 1 0 1 0
|
||||
aaaaaaaaaaaaaaaa aaaaaaabaaaaaaaa 0 1 1 0 1 0 aaaaaaaaaaaaaaaa aaaaaaabaaaaaaaa 0 1 1 0 1 0
|
||||
aaaaaaaaaaaaaaaa aaaaaaacaaaaaaaa 0 1 1 0 1 0 aaaaaaaaaaaaaaaa aaaaaaacaaaaaaaa 0 1 1 0 1 0
|
||||
aaaaaaaaaaaaaaaa baaaaaaaaaaaaaaa 0 1 1 0 1 0 aaaaaaaaaaaaaaaa baaaaaaaaaaaaaaa 0 1 1 0 1 0
|
||||
aaaaaaaaaaaaaaaa baaaaaaaaaaaaaab 0 1 1 0 1 0 aaaaaaaaaaaaaaaa baaaaaaaaaaaaaab 0 1 1 0 1 0
|
||||
aaaaaaaaaaaaaaaa baaaaaaaaaaaaaac 0 1 1 0 1 0 aaaaaaaaaaaaaaaa baaaaaaaaaaaaaac 0 1 1 0 1 0
|
||||
aaaaaaaaaaaaaaab aaaaaaaaaaaaaaaa 0 1 0 1 0 1 aaaaaaaaaaaaaaab aaaaaaaaaaaaaaa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aaaaaa 0 1 0 1 0 1 baaaaaaaaaaaaaab aaaaaaaabaaaaaaa 0 1 0 1 0 1
|
||||
baaaaaaaaaaaaaab aaaaaaabaaaaaaaa 0 1 0 1 0 1 baaaaaaaaaaaaaab aaaaaaabaaaaaaaa 0 1 0 1 0 1
|
||||
baaaaaaaaaaaaaab aaaaaaacaaaaaaaa 0 1 0 1 0 1 baaaaaaaaaaaaaab aaaaaaacaaaaaaaa 0 1 0 1 0 1
|
||||
baaaaaaaaaaaaaab baaaaaaaaaaaaaaa 0 1 0 1 0 1 baaaaaaaaaaaaaab baaaaaaaaaaaaaaa 0 1 0 1 0 1
|
||||
baaaaaaaaaaaaaab baaaaaaaaaaaaaab 1 0 0 0 1 1 baaaaaaaaaaaaaab baaaaaaaaaaaaaab 1 0 0 0 1 1
|
||||
baaaaaaaaaaaaaab baaaaaaaaaaaaaac 0 1 1 0 1 0 baaaaaaaaaaaaaab baaaaaaaaaaaaaac 0 1 1 0 1 0
|
||||
baaaaaaaaaaaaaac aaaaaaaaaaaaaaaa 0 1 0 1 0 1 baaaaaaaaaaaaaac aaaaaaaaaaaaaaaa 0 1 0 1 0 1
|
||||
baaaaaaaaaaaaaac aaaaaaaaaaaaaaab 0 1 0 1 0 1 baaaaaaaaaaaaaac aaaaaaaaaaaaaaab 0 1 0 1 0 1
|
||||
baaaaaaaaaaaaaac aaaaaaaaaaaaaaac 0 1 0 1 0 1 baaaaaaaaaaaaaac aaaaaaaaaaaaaaac 0 1 0 1 0 1
|
||||
baaaaaaaaaaaaaac aaaaaaaabaaaaaaa 0 1 0 1 0 1 baaaaaaaaaaaaaac aaaaaaaabaaaaaaa 0 1 0 1 0 1
|
||||
baaaaaaaaaaaaaac aaaaaaabaaaaaaaa 0 1 0 1 0 1 baaaaaaaaaaaaaac aaaaaaabaaaaaaaa 0 1 0 1 0 1
|
||||
baaaaaaaaaaaaaac aaaaaaacaaaaaaaa 0 1 0 1 0 1 baaaaaaaaaaaaaac aaaaaaacaaaaaaa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 0 0 0 1 1 0 1 1 0 1 0 0 1 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
|
||||
baaaaaaaaaaaaaab aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaab aaaaaaaaaaaaaaac baaaaaaaaaaaaaaa baaaaaaaaaaaaaab baaaaaaaaaaaaaac aaaaaaaabaaaaaaa aaaaaaabaaaaaaaa aaaaaaacaaaaaaaa 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 0 0 1 1 0 1 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
|
||||
baaaaaaaaaaaaaac aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaab aaaaaaaaaaaaaaac baaaaaaaaaaaaaaa baaaaaaaaaaaaaab baaaaaaaaaaaaaac aaaaaaaabaaaaaaa aaaaaaabaaaaaaaa aaaaaaacaaaaaaaa 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
|
@ -0,0 +1,63 @@
|
||||
SELECT
|
||||
a, b, a = b, a != b, a < b, a > b, a <= b, a >= b,
|
||||
toFixedString(a, 16) AS fa, toFixedString(b, 16) AS fb, fa = fb, fa != fb, fa < fb, fa > fb, fa <= fb, fa >= fb
|
||||
FROM
|
||||
(
|
||||
SELECT 'aaaaaaaaaaaaaaaa' AS a
|
||||
UNION ALL SELECT 'aaaaaaaaaaaaaaab'
|
||||
UNION ALL SELECT 'aaaaaaaaaaaaaaac'
|
||||
UNION ALL SELECT 'baaaaaaaaaaaaaaa'
|
||||
UNION ALL SELECT 'baaaaaaaaaaaaaab'
|
||||
UNION ALL SELECT 'baaaaaaaaaaaaaac'
|
||||
UNION ALL SELECT 'aaaaaaaabaaaaaaa'
|
||||
UNION ALL SELECT 'aaaaaaabaaaaaaaa'
|
||||
UNION ALL SELECT 'aaaaaaacaaaaaaaa'
|
||||
)
|
||||
CROSS JOIN
|
||||
(
|
||||
SELECT 'aaaaaaaaaaaaaaaa' AS b
|
||||
UNION ALL SELECT 'aaaaaaaaaaaaaaab'
|
||||
UNION ALL SELECT 'aaaaaaaaaaaaaaac'
|
||||
UNION ALL SELECT 'baaaaaaaaaaaaaaa'
|
||||
UNION ALL SELECT 'baaaaaaaaaaaaaab'
|
||||
UNION ALL SELECT 'baaaaaaaaaaaaaac'
|
||||
UNION ALL SELECT 'aaaaaaaabaaaaaaa'
|
||||
UNION ALL SELECT 'aaaaaaabaaaaaaaa'
|
||||
UNION ALL SELECT 'aaaaaaacaaaaaaaa'
|
||||
)
|
||||
ORDER BY a, b;
|
||||
|
||||
|
||||
SELECT
|
||||
toFixedString(a, 16) AS a,
|
||||
toFixedString('aaaaaaaaaaaaaaaa', 16) AS b1,
|
||||
toFixedString('aaaaaaaaaaaaaaab', 16) AS b2,
|
||||
toFixedString('aaaaaaaaaaaaaaac', 16) AS b3,
|
||||
toFixedString('baaaaaaaaaaaaaaa', 16) AS b4,
|
||||
toFixedString('baaaaaaaaaaaaaab', 16) AS b5,
|
||||
toFixedString('baaaaaaaaaaaaaac', 16) AS b6,
|
||||
toFixedString('aaaaaaaabaaaaaaa', 16) AS b7,
|
||||
toFixedString('aaaaaaabaaaaaaaa', 16) AS b8,
|
||||
toFixedString('aaaaaaacaaaaaaaa', 16) AS b9,
|
||||
a = b1, a != b1, a < b1, a > b1, a <= b1, a >= b1,
|
||||
a = b2, a != b2, a < b2, a > b2, a <= b2, a >= b2,
|
||||
a = b3, a != b3, a < b3, a > b3, a <= b3, a >= b3,
|
||||
a = b4, a != b4, a < b4, a > b4, a <= b4, a >= b4,
|
||||
a = b5, a != b5, a < b5, a > b5, a <= b5, a >= b5,
|
||||
a = b6, a != b6, a < b6, a > b6, a <= b6, a >= b6,
|
||||
a = b7, a != b7, a < b7, a > b7, a <= b7, a >= b7,
|
||||
a = b8, a != b8, a < b8, a > b8, a <= b8, a >= b8,
|
||||
a = b9, a != b9, a < b9, a > b9, a <= b9, a >= b9
|
||||
FROM
|
||||
(
|
||||
SELECT 'aaaaaaaaaaaaaaaa' AS a
|
||||
UNION ALL SELECT 'aaaaaaaaaaaaaaab'
|
||||
UNION ALL SELECT 'aaaaaaaaaaaaaaac'
|
||||
UNION ALL SELECT 'baaaaaaaaaaaaaaa'
|
||||
UNION ALL SELECT 'baaaaaaaaaaaaaab'
|
||||
UNION ALL SELECT 'baaaaaaaaaaaaaac'
|
||||
UNION ALL SELECT 'aaaaaaaabaaaaaaa'
|
||||
UNION ALL SELECT 'aaaaaaabaaaaaaaa'
|
||||
UNION ALL SELECT 'aaaaaaacaaaaaaaa'
|
||||
)
|
||||
ORDER BY a;
|
Loading…
Reference in New Issue
Block a user