ClickHouse/tests/queries/0_stateless/00846_join_using_tuple_crash.sql

10 lines
430 B
MySQL
Raw Normal View History

SET any_join_distinct_right_table_keys = 1;
SELECT * FROM (SELECT dummy as a, (toUInt8(0), toUInt8(0)) AS tup FROM system.one) js1
JOIN (SELECT dummy as a, (toUInt8(0), toUInt8(0)) AS tup FROM system.one) js2
2019-03-01 15:32:32 +00:00
USING (a, tup);
SELECT * FROM (SELECT dummy as a, (toUInt8(0), toUInt8(0)) AS tup FROM system.one) js1
GLOBAL ANY FULL OUTER JOIN (SELECT dummy as a, (toUInt8(0), toUInt8(0)) AS tup FROM system.one) js2
2019-03-01 15:32:32 +00:00
USING (a, tup);