This commit is contained in:
Alexey Milovidov 2018-09-17 21:22:56 +03:00
parent c00147f37d
commit c96464ca8e
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,4 @@
123.456 789.012 345678 Hello
123.456 789.012 345678 Hello
123.456 789.012 345678 Hello
123.456 789.012 345678 Hello

View File

@ -0,0 +1,14 @@
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;