mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
add test
This commit is contained in:
parent
da0c6413b3
commit
fd36c60803
@ -0,0 +1,8 @@
|
||||
┌─id─┬─value─┐
|
||||
│ 0 │ hello…│
|
||||
│ │…world │
|
||||
└────┴───────┘
|
||||
┌─id─┬─value─┐
|
||||
1. │ 0 │ hello…│
|
||||
│ │…world │
|
||||
└────┴───────┘
|
10
tests/queries/0_stateless/03132_pretty_format_break_line.sql
Normal file
10
tests/queries/0_stateless/03132_pretty_format_break_line.sql
Normal file
@ -0,0 +1,10 @@
|
||||
DROP TABLE IF EXISTS t_break_line;
|
||||
|
||||
CREATE TABLE t_break_line (id UInt64, value String) ENGINE=MergeTree ORDER BY id;
|
||||
|
||||
INSERT INTO t_break_line VALUES(0, 'hello\nworld');
|
||||
|
||||
SELECT * FROM t_break_line FORMAT PrettyCompactNoEscapes SETTINGS output_format_pretty_row_numbers = 0;
|
||||
SELECT * FROM t_break_line FORMAT PrettyCompactNoEscapes;
|
||||
|
||||
DROP TABLE t_break_line;
|
Loading…
Reference in New Issue
Block a user