mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 12:14:18 +00:00
12 lines
406 B
MySQL
12 lines
406 B
MySQL
|
DROP TABLE IF EXISTS t1;
|
||
|
DROP TABLE IF EXISTS t2;
|
||
|
|
||
|
CREATE TABLE t1 (`s` String, `x` Array(UInt8), `k` UInt64) ENGINE = Join(ANY, LEFT, k);
|
||
|
CREATE TABLE t2 (`s` String, `x` Array(UInt8), `k` UInt64) ENGINE = Join(ANY, INNER, k);
|
||
|
|
||
|
SELECT joinGet('t1', '', number) FROM numbers(2); -- { serverError 16 }
|
||
|
SELECT joinGet('t2', 's', number) FROM numbers(2); -- { serverError 264 }
|
||
|
|
||
|
DROP TABLE t1;
|
||
|
DROP TABLE t2;
|