From 642b09c8d6675a60ab8f69b68519d39f1e1f437d Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 18 Apr 2019 22:45:46 +0300 Subject: [PATCH] Added clarifications #5010 --- dbms/src/Formats/ProtobufReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Formats/ProtobufReader.cpp b/dbms/src/Formats/ProtobufReader.cpp index 17b763b043b..be31032f326 100644 --- a/dbms/src/Formats/ProtobufReader.cpp +++ b/dbms/src/Formats/ProtobufReader.cpp @@ -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); } }