mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 05:00:47 +00:00
Update AvroRowInputFormat.cpp
This commit is contained in:
parent
a6a18b62f9
commit
b71ef6db22
@ -702,7 +702,8 @@ static uint32_t readConfluentSchemaId(ReadBuffer & in)
|
||||
readBinaryBigEndian(magic, in);
|
||||
readBinaryBigEndian(schema_id, in);
|
||||
}
|
||||
catch(Exception & e) {
|
||||
catch (const Exception & e)
|
||||
{
|
||||
/* empty or incomplete message without Avro Confluent magic number or schema id */
|
||||
throw Exception("Missing AvroConfluent magic byte or schema identifier.", ErrorCodes::INCORRECT_DATA);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user