mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Merge pull request #47615 from HarryLeeIBM/hlee-s390x-siphash-tests
Fix siphash128 related tests for s390x
This commit is contained in:
commit
f515e35001
@ -191,6 +191,6 @@ E51B38608EF25F57
|
||||
1
|
||||
1
|
||||
E28DBDE7FE22E41C
|
||||
1CE422FEE7BD8DE20000000000000000
|
||||
1
|
||||
E28DBDE7FE22E41C
|
||||
1CE422FEE7BD8DE20000000000000000
|
||||
1
|
||||
|
@ -269,6 +269,6 @@ select sipHash64Keyed(toUInt64(0), '1'); -- { serverError 48 }
|
||||
select sipHash128Keyed(toUInt64(0), '1'); -- { serverError 48 }
|
||||
|
||||
select hex(sipHash64());
|
||||
select hex(sipHash128());
|
||||
SELECT hex(sipHash128()) = hex(reverse(unhex('1CE422FEE7BD8DE20000000000000000'))) or hex(sipHash128()) = '1CE422FEE7BD8DE20000000000000000';
|
||||
select hex(sipHash64Keyed());
|
||||
select hex(sipHash128Keyed());
|
||||
SELECT hex(sipHash128Keyed()) = hex(reverse(unhex('1CE422FEE7BD8DE20000000000000000'))) or hex(sipHash128Keyed()) = '1CE422FEE7BD8DE20000000000000000';
|
||||
|
@ -126,5 +126,5 @@ E3040C00EB28F15366CA73CBD872E740
|
||||
1
|
||||
1
|
||||
1
|
||||
1CE422FEE7BD8DE20000000000000000
|
||||
1CE422FEE7BD8DE20000000000000000
|
||||
1
|
||||
1
|
||||
|
@ -203,5 +203,5 @@ select sipHash128ReferenceKeyed((toUInt64(0),toUInt64(0)),char(0, 1, 2, 3, 4, 5,
|
||||
select sipHash128ReferenceKeyed((0, 0), '1'); -- { serverError 48 }
|
||||
select sipHash128ReferenceKeyed(toUInt64(0), '1'); -- { serverError 48 }
|
||||
|
||||
select hex(sipHash128Reference());
|
||||
select hex(sipHash128ReferenceKeyed());
|
||||
SELECT hex(sipHash128Reference()) = hex(reverse(unhex('1CE422FEE7BD8DE20000000000000000'))) or hex(sipHash128()) = '1CE422FEE7BD8DE20000000000000000';
|
||||
SELECT hex(sipHash128ReferenceKeyed()) = hex(reverse(unhex('1CE422FEE7BD8DE20000000000000000'))) or hex(sipHash128Keyed()) = '1CE422FEE7BD8DE20000000000000000';
|
||||
|
Loading…
Reference in New Issue
Block a user