Skip to content

return http status code on exec, insert, and query commands#525

Merged
peter-leonov-ch merged 4 commits intoClickHouse:mainfrom
Kinzeng:main
Jan 15, 2026
Merged

return http status code on exec, insert, and query commands#525
peter-leonov-ch merged 4 commits intoClickHouse:mainfrom
Kinzeng:main

Conversation

@Kinzeng
Copy link
Copy Markdown
Contributor

@Kinzeng Kinzeng commented Jan 13, 2026

Summary

clients may want to read the http status code coming from the clickhouse instance for their own custom handling. for example, when passing the ignoreResponse, it's not clear if the response is an error because the http status code gets lost between clickhouse-js and the caller.

Checklist

Delete items not relevant to your PR:

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@peter-leonov-ch peter-leonov-ch merged commit f377265 into ClickHouse:main Jan 15, 2026
25 of 29 checks passed
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