Skip to content

Commit

Permalink
fix: need if not exists for metrics_15s_dist (#593)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cluas authored Oct 25, 2024
1 parent 5d642c1 commit ab7860e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db/maintain/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ module.exports.traces = [
]

module.exports.overall_dist = [
`CREATE TABLE {{DB}}.metrics_15s_dist {{{OnCluster}}} (
`CREATE TABLE IF NOT EXISTS {{DB}}.metrics_15s_dist {{{OnCluster}}} (
\`fingerprint\` UInt64,
\`timestamp_ns\` Int64 CODEC(DoubleDelta),
\`last\` AggregateFunction(argMax, Float64, Int64),
Expand Down

0 comments on commit ab7860e

Please sign in to comment.