[Bug]: DualInputNestedValueProvider is not able to get Value properly if input is RuntimeValueProvider.
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
### What happened?
Background:
DualInputNestedValueProvider
https://github.com/GoogleCloudPlatform/DataflowTemplates/blob/c7cb59f37766b7edfd0eb14f6f184f7c13b7909b/v1/src/main/java/com/google/cloud/teleport/util/DualInputNestedValueProvider.java#L29 is not in Apache Beam package. However, it uses ValueProvider from SDK.
The issue:
If one of the input for DualInputNestedValueProvider is RuntimeValueProvider, then the input will still be a ValueProvider in input.getX() or input.getY() while we're expecting the real value of the ValueProvider should be fetched by the call.
### Issue Priority
Priority: 3 (minor)
### Issue Components
- [ ] Component: Python SDK
- [X] Component: Java SDK
- [ ] Component: Go SDK
- [ ] Component: Typescript SDK
- [ ] Component: IO connector
- [ ] Component: Beam YAML
- [ ] Component: Beam examples
- [ ] Component: Beam playground
- [ ] Component: Beam katas
- [ ] Component: Website
- [ ] Component: Spark Runner
- [ ] Component: Flink Runner
- [ ] Component: Samza Runner
- [ ] Component: Twister2 Runner
- [ ] Component: Hazelcast Jet Runner
- [ ] Component: Google Cloud Dataflow Runner
Contributor guide
Assessment
This issue has not been assessed yet.