aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhcpp <hcpp@ydb.tech>2022-07-26 12:48:15 +0300
committerhcpp <hcpp@ydb.tech>2022-07-26 12:48:15 +0300
commita46b789cd36f6026f5bf7cf30221e42c388dad2b (patch)
tree719060a2017d11cb51872d5626fb55ff51514d84
parentb60e5208f78bd0e60fddef9d1aa784d293604125 (diff)
downloadydb-a46b789cd36f6026f5bf7cf30221e42c388dad2b.tar.gz
submitted_at field
cleanup executed_at field has been added
-rw-r--r--ydb/public/api/protos/yq.proto9
1 files changed, 7 insertions, 2 deletions
diff --git a/ydb/public/api/protos/yq.proto b/ydb/public/api/protos/yq.proto
index 82f83acddc..edf78e999f 100644
--- a/ydb/public/api/protos/yq.proto
+++ b/ydb/public/api/protos/yq.proto
@@ -147,8 +147,13 @@ message QueryMeta {
}
CommonMeta common = 1;
- google.protobuf.Timestamp started_at = 2;
- google.protobuf.Timestamp finished_at = 3;
+ // Timeline (submitted_at <= started_at <= finished_at)
+ // sumbitted_at
+ // \ -> started_at
+ // \ -> finished_at
+ google.protobuf.Timestamp submitted_at = 14; // Time when the query was queued for execution
+ google.protobuf.Timestamp started_at = 2; // Start time of query execution
+ google.protobuf.Timestamp finished_at = 3; // Query completition time
ExecuteMode execute_mode = 4;
ComputeStatus status = 5;
int64 last_job_query_revision = 6;