Skip to content

Commit

Permalink
Take query_id to analyze coredumps (ydb-platform#8286)
Browse files Browse the repository at this point in the history
  • Loading branch information
shnikd authored Aug 27, 2024
1 parent 1c09c5d commit 4b2a95c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ydb/tools/query_replay_yt/query_compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,8 @@ class TReplayCompileActor: public TActorBootstrapped<TReplayCompileActor> {
}
}

QueryId = ReplayDetails["query_id"].GetStringSafe();

TKqpQuerySettings settings(queryType);
Query = std::make_unique<NKikimr::NKqp::TKqpQueryId>(
ReplayDetails["query_cluster"].GetStringSafe(),
Expand Down Expand Up @@ -660,6 +662,7 @@ class TReplayCompileActor: public TActorBootstrapped<TReplayCompileActor> {
private:
TActorId Owner;
TIntrusivePtr<TModuleResolverState> ModuleResolverState;
TString QueryId;
std::unique_ptr<TKqpQueryId> Query;
TGUCSettings::TPtr GUCSettings = std::make_shared<TGUCSettings>();
TKqpSettings KqpSettings;
Expand Down

0 comments on commit 4b2a95c

Please sign in to comment.