Skip to content

Commit ea7bd23

Browse files
$$$[KQP] Status processing added$$$ (#8502)
1 parent df3f77e commit ea7bd23

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ydb/core/kqp/gateway/actors/analyze_actor.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ void TAnalyzeActor::Handle(NStat::TEvStatistics::TEvAnalyzeResponse::TPtr& ev, c
4646

4747
const auto& record = ev->Get()->Record;
4848
const TString operationId = record.GetOperationId();
49+
const auto status = record.GetStatus();
50+
51+
if (status != NKikimrStat::TEvAnalyzeResponse::STATUS_SUCCESS) {
52+
ALOG_CRIT(NKikimrServices::KQP_GATEWAY,
53+
"TAnalyzeActor, TEvAnalyzeResponse has status=" << status);
54+
}
4955

5056
if (operationId != OperationId) {
5157
ALOG_CRIT(NKikimrServices::KQP_GATEWAY,

0 commit comments

Comments
 (0)