Skip to content

Commit ef74069

Browse files
authored
Merge 5c0b890 into 1c39afc
2 parents 1c39afc + 5c0b890 commit ef74069

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/library/yql/dq/actors/compute/dq_compute_actor_async_input_helper.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ struct TComputeActorAsyncInputHelper {
8383
Pause(*watermark);
8484
}
8585
}
86+
const bool emptyBatch = batch.empty();
8687
AsyncInputPush(std::move(batch), space, finished);
87-
if (!batch.empty()) {
88+
if (!emptyBatch) {
8889
// If we have read some data, we must run such reading again
8990
// to process the case when async input notified us about new data
9091
// but we haven't read all of it.

0 commit comments

Comments
 (0)