Abacn opened a new issue, #37475:
URL: https://github.com/apache/beam/issues/37475

   ### 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
   
   
https://github.com/apache/beam/blob/112685de58d7b24b70b8d8eb7171f0e28b35a2f1/sdks/python/apache_beam/yaml/main.py#L63
   
   jinja_variable_parser may "unambiguously" parsed "--project" as "--projectId"
   
   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


-- 
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]

Reply via email to