mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
8 lines
270 B
SQL
8 lines
270 B
SQL
SET allow_experimental_hash_functions = 1;
|
|
|
|
select number, hashid(number) from system.numbers limit 5;
|
|
select number, hashid(number, 's3cr3t', 16, 'abcdefghijklmnop') from system.numbers limit 5;
|
|
select hashid(1234567890123456, 's3cr3t');
|
|
|
|
SELECT hashid(1, hashid(2));
|