Added clarifications #5010

This commit is contained in:
Alexey Milovidov 2019-04-18 22:45:46 +03:00
parent 21c1e71b0e
commit 642b09c8d6

View File

@ -43,7 +43,7 @@ namespace
void unknownFormat()
{
throw Exception("Protobuf messages are corrupted or doesn't match the provided schema", ErrorCodes::UNKNOWN_PROTOBUF_FORMAT);
throw Exception("Protobuf messages are corrupted or doesn't match the provided schema. Please note that Protobuf stream is length-delimited: every message is prefixed by its length in varint.", ErrorCodes::UNKNOWN_PROTOBUF_FORMAT);
}
}