TheNeuralBit opened a new issue, #22434: URL: https://github.com/apache/beam/issues/22434
### What happened? See #22422 retain_unknown_options first parses all known arguments, then parses the unknown arguments assuming they are consecutive. To illustrate this issue, let's look at this execution: ``` run_pipeline.py --unknown_arg --known_arg=foo bar ``` We first parse the known arguments, and are left with `unknown_args = ['--unknown_arg', 'bar']`. Our logic then assumes `bar` is the value for an unknown option called `unknown_arg`. ### Issue Priority Priority: 2 ### Issue Component Component: sdk-py-core -- 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]
