Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
Update interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
CPWstatic committed Jun 29, 2021
1 parent 4d1929d commit 1e07408
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/common/interface/meta.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,11 @@ enum QueryStatus {
struct QueryDesc {
1: common.Timestamp start_time;
2: QueryStatus status;
3: binary query;
3: i64 duration;
4: binary query;
// The session might transfor between query engines, but the query do not, we must
// record which query engine the query belongs to
5: common.HostAddr graph_addr,
}

struct Session {
Expand Down Expand Up @@ -1106,7 +1110,8 @@ struct UpdateSessionsReq {
struct UpdateSessionsResp {
1: common.ErrorCode code,
2: common.HostAddr leader,
3: map<common.SessionID, set<i64> (cpp.template = "std::unordered_set")> (cpp.template = "std::unordered_map") killed_queries,
3: map<common.SessionID, map<common.ExecutionPlanID, QueryDesc> (cpp.template = "std::unordered_map")>
(cpp.template = "std::unordered_map") killed_queries,
}

struct ListSessionsReq {
Expand Down

0 comments on commit 1e07408

Please sign in to comment.