Skip to content

Commit

Permalink
[yaml] propogate error_handling to windowing composite config
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Kinard <[email protected]>
  • Loading branch information
Polber committed Dec 23, 2024
1 parent 7c86bf3 commit 71bf559
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sdks/python/apache_beam/yaml/yaml_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,9 @@ def preprocess_windowing(spec):
'transforms': [modified_spec] + windowing_transforms,
'input': spec['input'],
'output': modified_spec['__uuid__'],
'config': {
'error_handling': spec.get('config').get('error_handling', None)
} or {},
'__line__': spec['__line__'],
'__uuid__': spec['__uuid__'],
}
Expand Down Expand Up @@ -805,6 +808,9 @@ def preprocess_windowing(spec):
'name': spec.get('name', None) or spec['type'],
'transforms': [modified_spec] + windowing_transforms,
'output': windowed_outputs,
'config': {
'error_handling': spec.get('config').get('error_handling', None)
} or {},
'__line__': spec['__line__'],
'__uuid__': spec['__uuid__'],
}
Expand Down

0 comments on commit 71bf559

Please sign in to comment.