mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
18 lines
361 B
SQL
18 lines
361 B
SQL
-- Tags: no-fasttest
|
|
-- Tag no-fasttest: Depends on OpenSSL
|
|
|
|
SELECT hex(SHA512(''));
|
|
SELECT hex(SHA512('abc'));
|
|
|
|
DROP TABLE IF EXISTS defaults;
|
|
CREATE TABLE defaults
|
|
(
|
|
s FixedString(20)
|
|
)ENGINE = Memory();
|
|
|
|
INSERT INTO defaults SELECT s FROM generateRandom('s FixedString(20)', 1, 1, 1) LIMIT 20;
|
|
|
|
SELECT hex(SHA512(s)) FROM defaults;
|
|
|
|
DROP TABLE defaults;
|