mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
15 lines
421 B
MySQL
15 lines
421 B
MySQL
|
CREATE TEMPORARY TABLE test (x Float32, y Float64, z UInt64, s String);
|
||
|
|
||
|
INSERT INTO test FORMAT CSV 123.456,789.012,345678,Hello
|
||
|
|
||
|
SET format_csv_delimiter = ';';
|
||
|
INSERT INTO test FORMAT CSV 123.456;789.012;345678;Hello
|
||
|
|
||
|
SET format_csv_delimiter = ':';
|
||
|
INSERT INTO test FORMAT CSV 123.456:789.012:345678:Hello
|
||
|
|
||
|
SET format_csv_delimiter = '|';
|
||
|
INSERT INTO test FORMAT CSV 123.456|789.012|345678|Hello
|
||
|
|
||
|
SELECT * FROM test;
|