ClickHouse/tests/queries/0_stateless/01420_format_row.sql

8 lines
363 B
MySQL
Raw Normal View History

2020-07-19 02:55:08 +00:00
select formatRow('CSV', number, 'good') from numbers(3);
select formatRowNoNewline('TSV', number, DATE '2001-12-12', 1.4) from numbers(3);
select formatRow('JSONEachRow', number, toNullable(3), Null) from numbers(3);
select formatRowNoNewline('JSONEachRow', *) from numbers(3);
-- unknown format
select formatRow('aaa', *) from numbers(3); -- { serverError 73 }