mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
AvroConfluent: skip tombstone records
This commit is contained in:
parent
d4266d9619
commit
99c183da0f
@ -727,6 +727,11 @@ bool AvroConfluentRowInputFormat::readRow(MutableColumns & columns, RowReadExten
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// skip tombstone records (kafka messages with null value)
|
||||
if (in.available() == 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
SchemaId schema_id = readConfluentSchemaId(in);
|
||||
const auto & deserializer = getOrCreateDeserializer(schema_id);
|
||||
deserializer.deserializeRow(columns, *decoder, ext);
|
||||
|
Loading…
Reference in New Issue
Block a user