ClickHouse/tests/queries/0_stateless/01420_format_row.sql
2020-07-28 22:43:43 +08:00

8 lines
363 B
SQL

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 }