ClickHouse/tests/queries/0_stateless/02426_to_string_nullable_fixedstring.sql

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

3 lines
244 B
MySQL
Raw Normal View History

SELECT CAST('a', 'Nullable(FixedString(1))') as s, toTypeName(s), toString(s);
2022-09-20 05:27:34 +00:00
SELECT number, toTypeName(s), toString(s) FROM (SELECT number, if(number % 3 = 0, NULL, toFixedString(toString(number), 1)) AS s from numbers(10)) ORDER BY number;