diff --git a/dbms/src/DataStreams/TSKVRowInputStream.cpp b/dbms/src/DataStreams/TSKVRowInputStream.cpp index c29503d3401..7ab7dcb8dce 100644 --- a/dbms/src/DataStreams/TSKVRowInputStream.cpp +++ b/dbms/src/DataStreams/TSKVRowInputStream.cpp @@ -141,7 +141,7 @@ bool TSKVRowInputStream::read(Block & block) if (istr.eof()) { - throw Exception("Unexpected end of stream after field in TSKV format", ErrorCodes::CANNOT_READ_ALL_DATA); + throw Exception("Unexpected end of stream after field in TSKV format: " + name_ref.toString(), ErrorCodes::CANNOT_READ_ALL_DATA); } else if (*istr.position() == '\t') { @@ -154,7 +154,7 @@ bool TSKVRowInputStream::read(Block & block) break; } else - throw Exception("Found garbage after field in TSKV format", ErrorCodes::INCORRECT_DATA); + throw Exception("Found garbage after field in TSKV format: " + name_ref.toString(), ErrorCodes::INCORRECT_DATA); } }