chamikaramj commented on a change in pull request #13405:
URL: https://github.com/apache/beam/pull/13405#discussion_r537843240
##########
File path: sdks/python/apache_beam/runners/dataflow/dataflow_runner.py
##########
@@ -1112,6 +1128,17 @@ def run_ParDo(self, transform_node, options):
if is_stateful_dofn:
step.add_property(PropertyNames.USES_KEYED_STATE, 'true')
+ # Also checks whether the step allows shardable keyed states.
+ for pcoll in transform_node.outputs.values():
Review comment:
Thanks. Please note that all Runner v2 jobs will use portable job
submission soon. So this change has to be done for portable job submission in
the service side. We won't be necessary cleaning this up due to old SDKs and
Runner v1 jobs (so don't think we need a TODO).
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]