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

Problem with query_log #17

Closed
Saturma opened this issue Nov 13, 2017 · 1 comment
Closed

Problem with query_log #17

Saturma opened this issue Nov 13, 2017 · 1 comment

Comments

@Saturma
Copy link

Saturma commented Nov 13, 2017

I think that there is a problema in queries. When I execute a query with this API I didn´t found it in system.query_log table.

I execute the same queries with the same user with Tabix or with clickhouse-client and they appears. But when I execute it with this wrapper they don´t.

@killwort
Copy link
Owner

killwort commented Nov 15, 2017

CH server documentation states that queries are logged when they run with log_queries setting. My client does not export per-query settings in public API, however support for them is implemented and you could easily alter this behavior by modifying _clickHouseConnection.Formatter.RunQuery call in ClickHouseCommand.Execute.
If you decide to implement this functionality, please fork and do pull request afterwards.

@Saturma Saturma closed this as completed Apr 17, 2018
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

No branches or pull requests

2 participants