ClickHouse/tests/queries/0_stateless/02680_default_star.sql

7 lines
385 B
MySQL
Raw Normal View History

2023-03-13 04:39:35 +00:00
-- These queries yield syntax error, not logical error.
CREATE TEMPORARY TABLE test (ad DEFAULT *); -- { clientError SYNTAX_ERROR }
CREATE TEMPORARY TABLE test (ad INT DEFAULT *); -- { clientError SYNTAX_ERROR }
CREATE TEMPORARY TABLE test (ad DEFAULT * NOT NULL); -- { clientError SYNTAX_ERROR }
CREATE TEMPORARY TABLE test (ad DEFAULT t.* NOT NULL); -- { clientError SYNTAX_ERROR }