blob: c864798aa24faff25b18ecf4ad7aea63f05623bf [file] [log] [blame]
DESCRIBE FUNCTION decode;
DESC FUNCTION EXTENDED decode;
explain select decode(binary('TestDecode1'), 'UTF-8');
select
decode(binary('TestDecode1'), 'UTF-8'),
decode(binary('TestDecode2'), cast('UTF-8' as varchar(10))),
decode(binary('TestDecode3'), cast('UTF-8' as char(5))),
decode(cast(null as binary), 'UTF-8');