Skip to content

Commit

Permalink
Add overrideBuilder to DataflowRunner.java
Browse files Browse the repository at this point in the history
  • Loading branch information
celeste-zeng authored Jun 7, 2024
1 parent 748c345 commit 0081190
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,11 @@ private List<PTransformOverride> getOverrides(boolean streaming) {
PTransformOverride.of(
PTransformMatchers.classEqualTo(ParDo.SingleOutput.class),
new PrimitiveParDoSingleFactory()));

overridesBuilder.add(
PTransformOverride.of(
PTransformMatchers.classEqualTo(RedistributeByKey.class),
new RedistributeByKeyOverrideFactory()));

if (streaming) {
// For update compatibility, always use a Read for Create in streaming mode.
Expand Down

0 comments on commit 0081190

Please sign in to comment.