tvalentyn commented on code in PR #24834:
URL: https://github.com/apache/beam/pull/24834#discussion_r1081979119


##########
sdks/python/apache_beam/transforms/util.py:
##########
@@ -234,7 +234,8 @@ def expand(self, pcolls):
     for pcoll in pcolls.values():
       self._check_pcollection(pcoll)
       if self.pipeline:
-        assert pcoll.pipeline == self.pipeline
+        assert pcoll.pipeline == self.pipeline, (
+        'mismatched pipelines, input PCollections must all belong to the same 
pipeline')

Review Comment:
   ```suggestion
           'All input PCollections must belong to the same pipeline.')
   ```



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

Reply via email to