ClickHouse/tests/queries/0_stateless/02287_ephemeral_format_crash.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
553 B
MySQL
Raw Normal View History

DROP TABLE IF EXISTS test;
CREATE TABLE test(a UInt8, b String EPHEMERAL) Engine=Memory();
SHOW CREATE TABLE test;
DROP TABLE test;
CREATE TABLE test(a UInt8, b EPHEMERAL String) Engine=Memory(); -- { serverError UNKNOWN_IDENTIFIER }
CREATE TABLE test(a UInt8, b EPHEMERAL 'a' String) Engine=Memory(); -- { clientError SYNTAX_ERROR }
CREATE TABLE test(a UInt8, b String EPHEMERAL test) Engine=Memory(); -- { serverError UNKNOWN_IDENTIFIER }
CREATE TABLE test(a UInt8, b String EPHEMERAL 1+2) Engine=Memory();
SHOW CREATE TABLE test;
DROP TABLE test;