docs/en/interfaces/formats/RawBLOB.md
The RawBLOB formats reads all input data to a single value. It is possible to parse only a table with a single field of type String or similar.
The result is output as a binary format without delimiters and escaping. If more than one value is output, the format is ambiguous, and it will be impossible to read the data back.
Below is a comparison of the formats RawBLOB and TabSeparatedRaw.
RawBLOB:
TabSeparatedRaw:
The following is a comparison of the RawBLOB and RowBinary formats.
RawBLOB:
RowBinary:
When empty data is passed to the RawBLOB input, ClickHouse throws an exception:
Code: 108. DB::Exception: No data to insert
$ clickhouse-client --query "CREATE TABLE {some_table} (a String) ENGINE = Memory;"
$ cat {filename} | clickhouse-client --query="INSERT INTO {some_table} FORMAT RawBLOB"
$ clickhouse-client --query "SELECT * FROM {some_table} FORMAT RawBLOB" | md5sum
f9725a22f9191e064120d718e26862a9 -