Skip to content

ClickHouse driver does not work as expected #629

Closed Answered by burningalchemist
nuclon asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @nuclon, could you please share your configuration (redacted)?

UPD: sql_exporter doesn't contain any db-specific code, so invalid INSERT query comes from the Clickhouse driver itself, the only occurrence found is here, which is related to the prepared statements (PrepareContext function). This won't work in the case of sql_exporter. So please make sure you use unprepared statements as stated in the docs:

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by burningalchemist
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #628 on October 29, 2024 16:50.