y1chi commented on a change in pull request #14179:
URL: https://github.com/apache/beam/pull/14179#discussion_r591757405



##########
File path: sdks/python/apache_beam/runners/dataflow/dataflow_runner.py
##########
@@ -394,7 +395,7 @@ def _check_for_unsupported_fnapi_features(self, 
pipeline_proto):
       if (windowing_strategy.merge_status ==
           beam_runner_api_pb2.MergeStatus.NEEDS_MERGE and
           windowing_strategy.window_fn.urn not in (
-              common_urns.session_windows.urn, )):
+              common_urns.session_windows.urn, python_urns.PICKLED_WINDOWFN)):
         raise RuntimeError(
             'Unsupported merging windowing strategy: %s' %
             windowing_strategy.window_fn.urn)

Review comment:
       done.

##########
File path: sdks/python/apache_beam/runners/dataflow/dataflow_runner.py
##########
@@ -394,7 +395,7 @@ def _check_for_unsupported_fnapi_features(self, 
pipeline_proto):
       if (windowing_strategy.merge_status ==
           beam_runner_api_pb2.MergeStatus.NEEDS_MERGE and
           windowing_strategy.window_fn.urn not in (
-              common_urns.session_windows.urn, )):
+              common_urns.session_windows.urn, python_urns.PICKLED_WINDOWFN)):

Review comment:
       done.




----------------------------------------------------------------
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]


Reply via email to