Skip to content

[Feature Request]: Warn users about misspelled pipeline options #28402

@tvalentyn

Description

@tvalentyn

What would you like to happen?

I believe after 3dcdcf3 we are no longer getting warnings like "Discarding unparseable args".

It is very easy to mistype an option. For example, one can supply --extra-package instead of --extra_package, which I did. In 2.40.0 I would have gotten
WARNING:apache_beam.options.pipeline_options:Discarding unparseable args: ['--extra-package=package.whl'] in console logs, but we are not getting such logs anymore.

We should warn users about incorrect options, or even better suggest corrections: did you mean X ?

Issue Priority

Priority: 2 (default / most feature requests should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions