mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 14:02:21 +00:00
5 lines
270 B
SQL
5 lines
270 B
SQL
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)');
|
|
|