mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Added test #3142
This commit is contained in:
parent
c00147f37d
commit
c96464ca8e
@ -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
|
14
dbms/tests/queries/0_stateless/00707_float_csv_delimiter.sql
Normal file
14
dbms/tests/queries/0_stateless/00707_float_csv_delimiter.sql
Normal 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;
|
Loading…
Reference in New Issue
Block a user