mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
5 lines
270 B
MySQL
5 lines
270 B
MySQL
|
select toDecimal128(42.42, 5) as d format JSONEachRow settings output_format_json_quote_decimals=1;
|
||
|
insert into function file(02421_data.jsonl) select '42.42' as d settings engine_file_truncate_on_insert=1;
|
||
|
select * from file(02421_data.jsonl, auto, 'd Decimal32(3)');
|
||
|
|