ClickHouse/tests/queries/bugs/join_constants_on.sql

3 lines
296 B
MySQL
Raw Normal View History

2020-04-12 16:25:20 +00:00
select cast(1, 'UInt8') from (select arrayJoin([1, 2]) as a) t1 left join (select 1 as b) t2 on b = ignore('UInt8');
select isConstant('UInt8'), toFixedString('hello', toUInt8(substring('UInt8', 5, 1))) from (select arrayJoin([1, 2]) as a) t1 left join (select 1 as b) t2 on b = ignore('UInt8');