From e63307578b64644d4301de200514d3ad0d0fcec8 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Tue, 1 Jul 2025 23:05:58 +0200 Subject: [PATCH] Fix flamegraphs for queries --- src/interpreter/clickhouse.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpreter/clickhouse.rs b/src/interpreter/clickhouse.rs index f385b80..0f4ae5a 100644 --- a/src/interpreter/clickhouse.rs +++ b/src/interpreter/clickhouse.rs @@ -848,7 +848,7 @@ impl ClickHouse { {} weight FROM {} WHERE - event_date >= toDate(start_time_) AND event_time > toDateTime(start_time_) AND event_time_microseconds > start_time_ + event_date >= toDate(start_time_) AND event_time >= toDateTime(start_time_) AND event_time_microseconds > start_time_ AND event_date <= toDate(end_time_) AND event_time <= toDateTime(end_time_) AND event_time_microseconds <= end_time_ AND trace_type = '{:?}' {}