ClickHouse/tests/queries/0_stateless/03246_join_on_asterisk.sql

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

8 lines
378 B
MySQL
Raw Normal View History

DROP TABLE IF EXISTS t0;
CREATE TABLE t0 (c0 Int) ENGINE = Memory();
SELECT 1 FROM t0 JOIN t0 ON *; -- { serverError BAD_ARGUMENTS,INVALID_JOIN_ON_EXPRESSION }
2024-10-03 15:35:44 +00:00
SELECT 1 FROM t0 JOIN t0 ON (*,); -- { serverError AMBIGUOUS_COLUMN_NAME,INVALID_JOIN_ON_EXPRESSION,ILLEGAL_TYPE_OF_ARGUMENT }
SELECT 1 FROM t0 JOIN t0 USING *; -- { serverError BAD_ARGUMENTS,UNSUPPORTED_JOIN_KEYS }