normalized_query_hash tip
alrocar opened this issue · 3 comments
alrocar commented
Leaving an issue open for now, will create a PR with more details.
When looking for distinct queries in the query_log
@Algunenano suggested to discard similar ones (for instance same where filter with different values), you can deduplicate those with the same normalized_query_hash
.
Algunenano commented
Related:
- https://gitlab.com/tinybird/clickhouse-kb-doc-a-thon/-/merge_requests/4
- https://gitlab.com/tinybird/clickhouse-kb-doc-a-thon/-/merge_requests/107
No idea how the 2 projects are merged together