Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support client write info #221

Merged
merged 6 commits into from
Oct 18, 2022
Merged

Support client write info #221

merged 6 commits into from
Oct 18, 2022

Conversation

den818
Copy link
Contributor

@den818 den818 commented Oct 9, 2022

I want to implement supporting query parameters. It requires raising the version of the protocol. The gap between the current server version of the protocol and the current client library version of the protocol is huge for one PR. So I decided to create several small PR and raise versions step by step.

@CLAassistant
Copy link

CLAassistant commented Oct 9, 2022

CLA assistant check
All committers have signed the CLA.

@den818 den818 changed the title support сёБ WRITE_INFO in support client write info Oct 9, 2022
@den818 den818 changed the title support client write info Support client write info Oct 9, 2022
Copy link
Collaborator

@Enmk Enmk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contribution! Please add some test that verify that written_rows and written_bytes are non-zero with apprpriate query.

@den818 den818 force-pushed the CLIENT_WRITE_INFO branch from 14857a0 to 72504b2 Compare October 17, 2022 19:20
@den818
Copy link
Contributor Author

den818 commented Oct 17, 2022

Server support CLIENT_WRITE_INFO since version 19.9

den818 and others added 2 commits October 18, 2022 15:40
Test driver wouldn't crash if client hasn't received the progress
@Enmk Enmk merged commit 69325bd into ClickHouse:master Oct 18, 2022
@den818 den818 deleted the CLIENT_WRITE_INFO branch October 27, 2022 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants