1
+ CREATE TABLE IF NOT EXISTS configs (
2
+ id BIGINT PRIMARY KEY NOT ENFORCED,
3
+ benchmark STRING NOT NULL ,
4
+ scenario STRING NOT NULL ,
5
+ store STRING NOT NULL ,
6
+ instance_type STRING NOT NULL ,
7
+ cache BOOLEAN NOT NULL
8
+ );
9
+
10
+ CREATE TABLE IF NOT EXISTS experiments (
11
+ id BIGINT PRIMARY KEY NOT ENFORCED,
12
+ ts TIMESTAMP NOT NULL ,
13
+ branch STRING NOT NULL ,
14
+ commit STRING NOT NULL ,
15
+ commit_ts TIMESTAMP NOT NULL ,
16
+ username STRING NOT NULL ,
17
+ details_url STRING NOT NULL ,
18
+ exclude_from_analysis BOOLEAN DEFAULT false NOT NULL ,
19
+ exclude_reason STRING
20
+ );
21
+
22
+ CREATE TABLE IF NOT EXISTS results (
23
+ experiment_id BIGINT NOT NULL REFERENCES flink_sql .experiments (id) NOT ENFORCED,
24
+ config_id BIGINT NOT NULL REFERENCES flink_sql .configs (id) NOT ENFORCED,
25
+
26
+ process_cumulative_rate_mean BIGINT NOT NULL ,
27
+ process_cumulative_rate_stderr BIGINT NOT NULL ,
28
+ process_cumulative_rate_diff BIGINT NOT NULL ,
29
+
30
+ process_cumulative_rate_mean_rel_forward_change FLOAT64,
31
+ process_cumulative_rate_mean_rel_backward_change FLOAT64,
32
+ process_cumulative_rate_mean_p_value DECIMAL ,
33
+
34
+ process_cumulative_rate_stderr_rel_forward_change FLOAT64,
35
+ process_cumulative_rate_stderr_rel_backward_change FLOAT64,
36
+ process_cumulative_rate_stderr_p_value DECIMAL ,
37
+
38
+ process_cumulative_rate_diff_rel_forward_change FLOAT64,
39
+ process_cumulative_rate_diff_rel_backward_change FLOAT64,
40
+ process_cumulative_rate_diff_p_value DECIMAL ,
41
+
42
+ PRIMARY KEY (experiment_id, config_id) NOT ENFORCED
43
+ );
0 commit comments