File tree 2 files changed +28
-0
lines changed
mlflow_cratedb/adapter/ddl
2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -140,3 +140,28 @@ CREATE TABLE IF NOT EXISTS "tags" (
140
140
" run_uuid" TEXT NOT NULL ,
141
141
PRIMARY KEY (" key" , " run_uuid" )
142
142
);
143
+
144
+ CREATE TABLE IF NOT EXISTS " trace_info" (
145
+ " request_id" TEXT NOT NULL ,
146
+ " experiment_id" BIGINT ,
147
+ " timestamp_ms" BIGINT NOT NULL ,
148
+ " execution_time_ms" BIGINT NOT NULL ,
149
+ " status" TEXT ,
150
+ PRIMARY KEY (" request_id" )
151
+ );
152
+
153
+ CREATE TABLE IF NOT EXISTS " trace_tags" (
154
+ " key" TEXT ,
155
+ " value" TEXT NOT NULL ,
156
+ " request_id" TEXT NOT NULL ,
157
+ " trace_info" BIGINT ,
158
+ PRIMARY KEY (" request_id" , " key" )
159
+ );
160
+
161
+ CREATE TABLE IF NOT EXISTS " trace_request_metadata" (
162
+ " key" TEXT ,
163
+ " value" TEXT NOT NULL ,
164
+ " request_id" TEXT NOT NULL ,
165
+ " trace_info" BIGINT ,
166
+ PRIMARY KEY (" request_id" , " key" )
167
+ );
Original file line number Diff line number Diff line change @@ -13,3 +13,6 @@ DROP TABLE IF EXISTS "registered_model_aliases";
13
13
DROP TABLE IF EXISTS " registered_model_tags" ;
14
14
DROP TABLE IF EXISTS " runs" ;
15
15
DROP TABLE IF EXISTS " tags" ;
16
+ DROP TABLE IF EXISTS " trace_info" ;
17
+ DROP TABLE IF EXISTS " trace_tags" ;
18
+ DROP TABLE IF EXISTS " trace_request_metadata" ;
You can’t perform that action at this time.
0 commit comments