TanuSharma2511 commented on issue #34690: URL: https://github.com/apache/beam/issues/34690#issuecomment-2822932950
Test for this scenario should fail with [error](https://github.com/apache/beam/blob/master/sdks/python/apache_beam/yaml/yaml_transform.py#L593) because in unit tests, we are directly calling YamlTransform() which eventually will call [preprocess](https://github.com/apache/beam/blob/master/sdks/python/apache_beam/yaml/yaml_transform.py#L634C5-L634C21) and error will occur. But usually, run() is used to trigger the pipeline, so pipeline failed before reaching YamlTransform() while validating against the [schema](https://github.com/apache/beam/blob/master/sdks/python/apache_beam/yaml/pipeline.schema.yaml#L18). So, I think we need to test current changes using run() or expand_pipeline(). -- 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]
