mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-07 05:42:57 +00:00
chore: bump promql-parser to v0.4.1 and use to_string() for EvalStmt (#4832)
chore: bump promql-parser to v0.4.1 and use to_string() for EvalStmt
This commit is contained in:
@@ -70,8 +70,7 @@ impl SlowQueryTimer {
|
||||
slow!(
|
||||
cost = elapsed.as_millis() as u64,
|
||||
threshold = threshold.as_millis() as u64,
|
||||
// TODO(zyy17): It's better to implement Display for EvalStmt for pretty print.
|
||||
promql = format!("{:?}", stmt)
|
||||
promql = stmt.to_string()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user