-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
What happened?
Saying I have a Yaml pipeline has a Jinja vairable 'projectId', it may conflicts with the well known pipeline option project due to here
beam/sdks/python/apache_beam/yaml/main.py
Line 63 in 112685d
| jinja_variable_parser = argparse.ArgumentParser() |
jinja_variable_parser may "unambiguously" parsed "--project" as "--projectId", causing --project pipeline option treated as a jinja variable and removed from pipeline options passing to pipeline construction
This can cause weird error ValueError: Pipeline has validations errors: Missing required option: project. when submitting pipeline to Dataflow
We should set allow_abbrev to False. But this still doesn't fully avoid confliction when a jinja variable also named project
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
- Component: Python SDK
- 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: Infrastructure
- Component: Spark Runner
- Component: Flink Runner
- Component: Samza Runner
- Component: Twister2 Runner
- Component: Hazelcast Jet Runner
- Component: Google Cloud Dataflow Runner