2018-03-13 23:33:56 +00:00
|
|
|
# VerticalRaw
|
|
|
|
|
2018-03-13 23:42:06 +00:00
|
|
|
Differs from `Vertical` format in that the rows are written without escaping.
|
2018-03-13 23:33:56 +00:00
|
|
|
This format is only appropriate for outputting a query result, but not for parsing (retrieving data to insert in a table).
|
|
|
|
|
|
|
|
Samples:
|
|
|
|
```
|
|
|
|
:) SHOW CREATE TABLE geonames FORMAT VerticalRaw;
|
|
|
|
Row 1:
|
|
|
|
──────
|
2018-03-13 23:42:06 +00:00
|
|
|
statement: CREATE TABLE default.geonames ( geonameid UInt32, date Date DEFAULT CAST('2017-12-08' AS Date)) ENGINE = MergeTree(date, geonameid, 8192)
|
2018-03-13 23:33:56 +00:00
|
|
|
|
|
|
|
:) SELECT 'string with \'quotes\' and \t with some special \n characters' AS test FORMAT VerticalRaw;
|
|
|
|
Row 1:
|
|
|
|
──────
|
|
|
|
test: string with 'quotes' and with some special
|
|
|
|
characters
|
|
|
|
|
|
|
|
-- the same in Vertical format:
|
|
|
|
:) SELECT 'string with \'quotes\' and \t with some special \n characters' AS test FORMAT Vertical;
|
|
|
|
Row 1:
|
|
|
|
──────
|
|
|
|
test: string with \'quotes\' and \t with some special \n characters
|
|
|
|
```
|