ClickHouse/dbms/tests/queries/0_stateless/00746_hashing_tuples.sql

20 lines
665 B
MySQL
Raw Normal View History

2018-10-23 17:43:09 +00:00
SELECT sipHash64(1, 2, 3);
SELECT sipHash64(1, 3, 2);
2018-10-24 13:27:49 +00:00
SELECT sipHash64(('a', [1, 2, 3], 4, (4, ['foo', 'bar'], 1, (1, 2))));
SELECT halfMD5(1, 2, 3);
SELECT halfMD5(1, 3, 2);
SELECT halfMD5(('a', [1, 2, 3], 4, (4, ['foo', 'bar'], 1, (1, 2))));
2018-10-23 17:43:09 +00:00
SELECT murmurHash2_32(1, 2, 3);
SELECT murmurHash2_32(1, 3, 2);
2018-10-24 13:27:49 +00:00
SELECT murmurHash2_32(('a', [1, 2, 3], 4, (4, ['foo', 'bar'], (1, 2))));
2018-10-23 17:43:09 +00:00
SELECT murmurHash2_64(1, 2, 3);
SELECT murmurHash2_64(1, 3, 2);
2018-10-24 13:27:49 +00:00
SELECT murmurHash2_64(('a', [1, 2, 3], 4, (4, ['foo', 'bar'], 1, (1, 2))));
2018-10-23 17:43:09 +00:00
SELECT murmurHash3_64(1, 2, 3);
SELECT murmurHash3_64(1, 3, 2);
2018-10-24 13:27:49 +00:00
SELECT murmurHash3_64(('a', [1, 2, 3], 4, (4, ['foo', 'bar'], 1, (1, 2))));