ClickHouse/tests/queries/0_stateless/02474_unhex_in_fix_string.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
343 B
MySQL
Raw Normal View History

2022-11-14 05:32:02 +00:00
drop table if exists unhex_in_fix_string_table;
create table unhex_in_fix_string_table ( dt Date, s1 FixedString(20), s2 String) engine=MergeTree partition by dt order by tuple();
insert into unhex_in_fix_string_table values(today(), '436C69636B486F757365', '436C69636B486F757365');
select unhex(s1), unhex(s2) from unhex_in_fix_string_table;