ClickHouse/dbms/tests/queries/0_stateless/00957_delta_diff_bug.sql

10 lines
251 B
SQL

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;