damccorm commented on a change in pull request #17045:
URL: https://github.com/apache/beam/pull/17045#discussion_r838748440
##########
File path: sdks/go/pkg/beam/core/runtime/graphx/translate.go
##########
@@ -445,6 +446,9 @@ func (m *marshaller) addMultiEdge(edge NamedEdge)
([]string, error) {
payload.RestrictionCoderId = coderId
m.requirements[URNRequiresSplittableDoFn] = true
}
+ if _, ok :=
edge.Edge.DoFn.ProcessElementFn().BundleFinalization(); ok {
+ m.requirements[URNRequiresBundleFinalization] = true
Review comment:
Sure - it should be super cheap anyways since there aren't many
requirements.
--
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]