ClickHouse/tests/queries/0_stateless/01683_codec_encrypted.sql
2021-09-12 17:15:28 +03:00

11 lines
332 B
SQL

-- Tags: no-fasttest
-- Tag no-fasttest: Depends on OpenSSL
DROP TABLE IF EXISTS encryption_test;
CREATE TABLE encryption_test (i Int, s String Codec(Encrypted('AES-128-GCM-SIV'))) ENGINE = MergeTree ORDER BY i;
INSERT INTO encryption_test VALUES (1, 'Some plaintext');
SELECT * FROM encryption_test;
DROP TABLE encryption_test;