Update formats.md

This commit is contained in:
alexey-milovidov 2020-12-11 02:01:39 +03:00 committed by GitHub
parent 3874d62db8
commit 27ba035aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1385,8 +1385,9 @@ Below is a comparison of the formats `RawBLOB` and [TabSeparatedRaw](#tabseparat
The following is a comparison of the `RawBLOB` and [RowBinary](#rowbinary) formats.
`RawBLOB`:
- strings are output without their length.
- strings are represented as length in varint format (unsigned [LEB128] (https://en.wikipedia.org/wiki/LEB128)), followed by the bytes of the string.
- String fields are output without being prefixed by length.
`RowBinary`:
- String fields are represented as length in varint format (unsigned [LEB128] (https://en.wikipedia.org/wiki/LEB128)), followed by the bytes of the string.
When an empty data is passed to the `RawBLOB` input, ClickHouse throws an exception: