Skip to content

Commit a7a2a17

Browse files
authored
YQL-17755 fix drying input up (#1604)
1 parent 3204f33 commit a7a2a17

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)