Skip to content

Commit 0ca47b8

Browse files
committed
Microfix DQ Reader: do not hang on stream creation errors
Microfix DQ Reader: do not hang on stream creation errors commit_hash:6c67546e07f7e9ae5ab4a1dab703f58ba66f859b
1 parent 84ade9f commit 0ca47b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

yt/yql/providers/yt/comp_nodes/dq/dq_yt_rpc_reader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ void TParallelFileInputState::RunNext() {
176176
CreateInputStream(Settings_->Requests[inputIdx]).SubscribeUnique(BIND([state = InnerState_, inputIdx](NYT::TErrorOr<NYT::NConcurrency::IAsyncZeroCopyInputStreamPtr>&& stream) {
177177
if (!stream.IsOK()) {
178178
state->Error = stream;
179+
state->WaitPromise.TrySet();
179180
return;
180181
}
181182
state->RawInputs[inputIdx] = std::move(stream.Value());

0 commit comments

Comments
 (0)