Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
CREATE TABLE benchmark.benchmark_regression_report
(
`id` UUID DEFAULT generateUUIDv4(),
`report_id` String, -- unique id for the report config
`created_at` DateTime64(0, 'UTC') DEFAULT now(),
`last_record_ts` DateTime64(0, 'UTC'),
`last_record_commit` String,
`type` String, -- e.g. 'daily','weekly'
`status` String, -- e.g. 'no_regression',"regression",'failure'
`regression_count` UInt32 DEFAULT 0,
`insufficient_data_count` UInt32 DEFAULT 0,
`suspected_regression_count` UInt32 DEFAULT 0,
`total_count` UInt32 DEFAULT 0,
`repo` String,
`report` String DEFAULT '{}'
)
ENGINE = SharedMergeTree('/clickhouse/tables/{uuid}/{shard}', '{replica}')
PARTITION BY toYYYYMM(report_date)
ORDER BY
(
report_id,
type,
status,
last_record_ts,
last_record_commit,
created_at,
repo
id
)
TTL created_at + toIntervalYear(10)
SETTINGS index_granularity = 8192;