Skip to content

Commit 504c507

Browse files
author
maxkovalev
committed
YQL-19505: Remove debug job freeze
Revert of this PR: <HIDDEN_URL> commit_hash:2e7446ebd769669a7f4f3d6dc8930fa698e64046
1 parent c9de14b commit 504c507

File tree

5 files changed

+2
-75
lines changed

5 files changed

+2
-75
lines changed

yt/yql/providers/yt/comp_nodes/ya.make.inc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ PEERDIR(
2323
yql/essentials/providers/common/mkql
2424
yt/yql/providers/yt/codec
2525
yt/yql/providers/yt/expr_nodes
26-
yt/yql/providers/yt/lib/errors
2726
)
2827

2928
YQL_LAST_ABI_VERSION()

yt/yql/providers/yt/comp_nodes/yql_mkql_file_list.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#include "yql_mkql_file_list.h"
22
#include "yql_mkql_file_input_state.h"
33

4-
#include <yt/yql/providers/yt/lib/errors/yql_emergency_sleep.h>
5-
6-
74
namespace NYql {
85

96
using namespace NKikimr::NMiniKQL;
@@ -21,12 +18,12 @@ bool TFileListValueBase::TIterator::Next(NUdf::TUnboxedValue& value) {
2118
}
2219
AtStart_ = false;
2320
if (!State_->IsValid()) {
24-
YQL_EMERGENCY_SLEEP(!ExpectedLength_ || *ExpectedLength_ == 0, "Invalid file length, ExpectedLength=" << *ExpectedLength_ << ", State: " << State_->DebugInfo());
21+
MKQL_ENSURE(!ExpectedLength_ || *ExpectedLength_ == 0, "Invalid file length, ExpectedLength=" << *ExpectedLength_ << ", State: " << State_->DebugInfo());
2522
return false;
2623
}
2724

2825
if (ExpectedLength_) {
29-
YQL_EMERGENCY_SLEEP(*ExpectedLength_ > 0, "Invalid file length. State: " << State_->DebugInfo());
26+
MKQL_ENSURE(*ExpectedLength_ > 0, "Invalid file length. State: " << State_->DebugInfo());
3027
--(*ExpectedLength_);
3128
}
3229
value = State_->GetCurrent();

yt/yql/providers/yt/lib/errors/ya.make

Lines changed: 0 additions & 12 deletions
This file was deleted.

yt/yql/providers/yt/lib/errors/yql_emergency_sleep.cpp

Lines changed: 0 additions & 33 deletions
This file was deleted.

yt/yql/providers/yt/lib/errors/yql_emergency_sleep.h

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)