ClickHouse/tests/queries/bugs/join_constants_on.sql
Alexey Milovidov b00330b5db Added bug
2020-04-12 19:25:20 +03:00

3 lines
296 B
SQL

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');