This commit is contained in:
Volodya Giro 2024-04-27 04:07:53 +03:00 committed by Volodya
parent da0c6413b3
commit fd36c60803
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,8 @@
┌─id─┬─value─┐
│ 0 │ hello…│
│ │…world │
└────┴───────┘
┌─id─┬─value─┐
1. │ 0 │ hello…│
│ │…world │
└────┴───────┘

View 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;