KevinGG commented on code in PR #23069:
URL: https://github.com/apache/beam/pull/23069#discussion_r970035849
##########
sdks/python/apache_beam/runners/interactive/pipeline_fragment.py:
##########
@@ -233,3 +234,9 @@ def visit_transform(self, transform_node):
v = PruneVisitor()
runner_pipeline.visit(v)
return runner_pipeline
+
+
+def should_skip_pruning(transform: AppliedPTransform):
+ return (
+ isinstance(transform.transform, TestStream) or
+ '_DataFrame_' in transform.full_label)
Review Comment:
DataframeTransform expands into a bunch of normal ParDos, so
DataframeTransform itself doesn't work.
--
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]