ClickHouse/tests/queries/0_stateless/00707_float_csv_delimiter.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

16 lines
500 B
SQL

DROP TEMPORARY TABLE IF EXISTS test_00707;
CREATE TEMPORARY TABLE test_00707 (x Float32, y Float64, z UInt64, s String);
INSERT INTO test_00707 FORMAT CSV 123.456,789.012,345678,Hello
SET format_csv_delimiter = ';';
INSERT INTO test_00707 FORMAT CSV 123.456;789.012;345678;Hello
SET format_csv_delimiter = ':';
INSERT INTO test_00707 FORMAT CSV 123.456:789.012:345678:Hello
SET format_csv_delimiter = '|';
INSERT INTO test_00707 FORMAT CSV 123.456|789.012|345678|Hello
SELECT * FROM test_00707;