Repository navigation
fix clickhouse_driver inserts - #72813
Conversation
|
This is an automated comment for commit ccde2a3 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
5a70fa1 to
c866e38
Compare
Algunenano
left a comment
There was a problem hiding this comment.
Left some questions. As this was present in 24.11 it should be changed to BugFix and backported there
| { | ||
| executor.push(std::move(state.block_for_insert)); | ||
|
|
||
| sendLogs(state); |
There was a problem hiding this comment.
Should we be sending progress too? It'd be nice to leave a comment explaining why we send some values and not others
There was a problem hiding this comment.
To be honest -- 'I do not know'
It was and it is still overcomplicated question what and when we send something.
I has checked the previous version of that code:
progress has not been sent for each block when processInsertQuery
Lest try to add sendProgress and check the tests. It makes sence.
There was a problem hiding this comment.
No. If I add sendProgress here tests fail.
Code: 102. DB::Exception: Received from localhost:9000. DB::NetException. DB::NetException: Unexpected packet from server (expected EndOfStream or Exception, got Progress): Insertion status:
Backport #72813 to 24.12: fix clickhouse_driver inserts
Backport #72813 to 24.11: fix clickhouse_driver inserts
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
...
Documentation entry for user-facing changes
CI Settings (Only check the boxes if you know what you are doing):