2020-04-07 14:52:32 +00:00
|
|
|
DROP TABLE IF EXISTS join_test;
|
|
|
|
|
|
|
|
CREATE TABLE join_test (id UInt16, num UInt16) engine = Join(ANY, LEFT, id);
|
2020-04-12 03:25:47 +00:00
|
|
|
SELECT joinGetOrNull('join_test', 'num', 500);
|
|
|
|
DROP TABLE join_test;
|
2020-04-07 14:52:32 +00:00
|
|
|
|
2020-04-12 03:25:47 +00:00
|
|
|
CREATE TABLE join_test (id UInt16, num Nullable(UInt16)) engine = Join(ANY, LEFT, id);
|
2020-04-07 14:52:32 +00:00
|
|
|
SELECT joinGetOrNull('join_test', 'num', 500);
|
2020-04-12 03:25:47 +00:00
|
|
|
DROP TABLE join_test;
|
2020-04-07 14:52:32 +00:00
|
|
|
|
2020-04-12 03:25:47 +00:00
|
|
|
CREATE TABLE join_test (id UInt16, num Array(UInt16)) engine = Join(ANY, LEFT, id);
|
|
|
|
SELECT joinGetOrNull('join_test', 'num', 500); -- { serverError 43 }
|
2020-04-07 14:52:32 +00:00
|
|
|
DROP TABLE join_test;
|