ClickHouse/tests/queries/0_stateless/00957_delta_diff_bug.sql
2020-05-04 17:25:54 +03:00

12 lines
285 B
SQL

SET allow_suspicious_codecs = 1;
DROP TABLE IF EXISTS segfault_table;
CREATE TABLE segfault_table (id UInt16 CODEC(Delta(2))) ENGINE MergeTree() order by tuple();
INSERT INTO segfault_table VALUES (1111), (2222);
SELECT * FROM segfault_table;
DROP TABLE IF EXISTS segfault_table;