mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 12:22:12 +00:00
add sendProgress between read blocks
This commit is contained in:
parent
516fd98327
commit
266e854560
@ -37,7 +37,6 @@
|
||||
#include <Poco/Net/NetException.h>
|
||||
#include <Poco/Net/SocketAddress.h>
|
||||
#include <Poco/Util/LayeredConfiguration.h>
|
||||
#include "Common/StackTrace.h"
|
||||
#include <Common/Exception.h>
|
||||
#include <Common/CurrentMetrics.h>
|
||||
#include <Common/CurrentThread.h>
|
||||
@ -1010,6 +1009,7 @@ void TCPHandler::readData(QueryState & state)
|
||||
|
||||
while (receivePacketsExpectData(state))
|
||||
{
|
||||
sendProgress(state);
|
||||
sendLogs(state);
|
||||
sendInsertProfileEvents(state);
|
||||
}
|
||||
@ -1114,6 +1114,7 @@ void TCPHandler::processInsertQuery(QueryState & state)
|
||||
{
|
||||
executor.push(std::move(state.block_for_insert));
|
||||
|
||||
sendProgress(state);
|
||||
sendLogs(state);
|
||||
sendInsertProfileEvents(state);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user