0

We have some functions that process the elements from a bundle in batches. They need to output the last batch in the finishBundle() method.

Something like described in the answer to this previous question.

In the latest Dataflow 2.0.0-beta1 release, which is based on Beam 0.4.0, the DoFnTester throws UnsupportedOperationException from its finishBundle() method if the function under test invokes the output method on the context there.

Is there any reason for this behavior change? Is output from DoFn.finishBundle() not supported anymore during runtime?

Community
  • 1
  • 1
M Song
  • 280
  • 2
  • 9

1 Answers1

0

This is a regression in DoFnTester. I've filed a bug against Beam here

danielm
  • 3,000
  • 10
  • 15