mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
fix kafka
This commit is contained in:
parent
8e5b3b2f6c
commit
abebce2f18
@ -37,7 +37,6 @@ size_t StreamingFormatExecutor::execute()
|
||||
try
|
||||
{
|
||||
size_t new_rows = 0;
|
||||
|
||||
port.setNeeded();
|
||||
while (true)
|
||||
{
|
||||
|
@ -88,7 +88,6 @@ Block KafkaBlockInputStream::readImpl()
|
||||
|
||||
std::optional<std::string> exception_message;
|
||||
size_t total_rows = 0;
|
||||
size_t new_rows = 0;
|
||||
size_t failed_poll_attempts = 0;
|
||||
|
||||
auto on_error = [&](const MutableColumns & result_columns, Exception & e)
|
||||
@ -122,6 +121,7 @@ Block KafkaBlockInputStream::readImpl()
|
||||
|
||||
while (true)
|
||||
{
|
||||
size_t new_rows = 0;
|
||||
exception_message.reset();
|
||||
if (buffer->poll())
|
||||
new_rows = executor.execute();
|
||||
|
Loading…
Reference in New Issue
Block a user