ClickHouse.Client icon indicating copy to clipboard operation
ClickHouse.Client copied to clipboard

[Q] get rid of query "SELECT version(), timezone() FORMAT TSV"

Open Alexander9107 opened this issue 8 months ago • 1 comments

Question

Hi. Is there any way to prevent issuing the query "SELECT version(), timezone() FORMAT TSV" before any my certain query is sent to ClickHouse ?

Alexander9107 avatar Apr 18 '25 10:04 Alexander9107

This is a service query performed once on opening a new connection. If you create a new connection class for every request, then it would accompany every query. You should use more long-lived connections if that is an issue

DarkWanderer avatar Apr 21 '25 11:04 DarkWanderer