mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
dbms/TSKVRowInputStream: more logging [#METR-19528].
This commit is contained in:
parent
4e2a760474
commit
44c9de8873
@ -141,7 +141,7 @@ bool TSKVRowInputStream::read(Block & block)
|
|||||||
|
|
||||||
if (istr.eof())
|
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')
|
else if (*istr.position() == '\t')
|
||||||
{
|
{
|
||||||
@ -154,7 +154,7 @@ bool TSKVRowInputStream::read(Block & block)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user