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

23 lines
802 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))));
2019-01-08 05:12:52 +00:00
2019-01-09 02:03:50 +00:00
SELECT gccMurmurHash(1, 2, 3);
SELECT gccMurmurHash(1, 3, 2);
SELECT gccMurmurHash(('a', [1, 2, 3], 4, (4, ['foo', 'bar'], 1, (1, 2))));