mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 04:22:03 +00:00
9eeb856519
Right now RemoteInserter does not read ProfileEvents for INSERT, it handles them only after sending the query or on finish. But #37391 sends them for each INSERT block, but sometimes they can be no ProfileEvents packet, since it sends only non-empty blocks. And this adds too much complexity, and anyway ProfileEvents are useless for the server, so let's send them only if the query is initial (i.e. send by user). Note, that it is okay to change the logic of sending ProfileEvents w/o changing DBMS_TCP_PROTOCOL_VERSION, because there were no public releases with the original patch included yet. Fixes: #37391 Refs: #35075 Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
0 lines
Plaintext
0 lines
Plaintext