ClickHouse/dbms/tests/queries/0_stateless/00707_float_csv_delimiter.sql
2018-09-17 21:22:56 +03:00

15 lines
421 B
SQL

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;