AnandInguva commented on code in PR #27373:
URL: https://github.com/apache/beam/pull/27373#discussion_r1258419320
##########
sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py:
##########
@@ -852,6 +859,9 @@ def _execute_bundle(self,
(consuming_stage_name, consuming_transform, buffer_id))
# We enqueue all of the pending output buffers to be scheduled at the
# MAX_TIMESTAMP for the downstream stage.
+ # buffer is None. Empty PCollection. Bug
Review Comment:
```suggestion
```
##########
sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py:
##########
@@ -852,6 +859,9 @@ def _execute_bundle(self,
(consuming_stage_name, consuming_transform, buffer_id))
# We enqueue all of the pending output buffers to be scheduled at the
# MAX_TIMESTAMP for the downstream stage.
+ # buffer is None. Empty PCollection. Bug
+ if not buffer:
+ buffer = ListBuffer(None)
Review Comment:
```suggestion
```
##########
sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py:
##########
@@ -852,6 +859,9 @@ def _execute_bundle(self,
(consuming_stage_name, consuming_transform, buffer_id))
# We enqueue all of the pending output buffers to be scheduled at the
# MAX_TIMESTAMP for the downstream stage.
+ # buffer is None. Empty PCollection. Bug
+ if not buffer:
Review Comment:
```suggestion
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]