mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
9 lines
688 B
SQL
Executable File
9 lines
688 B
SQL
Executable File
DROP TABLE IF EXISTS test_01073_crlf_end_of_line;
|
|
CREATE TABLE test_01073_crlf_end_of_line (value UInt8, word String) ENGINE = MergeTree() ORDER BY value;
|
|
INSERT INTO test_01073_crlf_end_of_line VALUES (1, 'hello'), (2, 'world');
|
|
SELECT * FROM test_01073_crlf_end_of_line FORMAT CSV SETTINGS output_format_csv_crlf_end_of_line = 1;
|
|
SELECT * FROM test_01073_crlf_end_of_line FORMAT CSV SETTINGS output_format_csv_crlf_end_of_line = 0;
|
|
SELECT * FROM test_01073_crlf_end_of_line FORMAT TSV SETTINGS output_format_tsv_crlf_end_of_line = 1;
|
|
SELECT * FROM test_01073_crlf_end_of_line FORMAT TSV SETTINGS output_format_tsv_crlf_end_of_line = 0;
|
|
DROP TABLE IF EXISTS test_01073_crlf_end_of_line;
|