[
https://issues.apache.org/jira/browse/BEAM-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16865001#comment-16865001
]
Thomas Weise commented on BEAM-1318:
------------------------------------
A warning is now logged when options are discarded:
[https://github.com/apache/beam/blob/37b76b67b5d0cbd92e6a3fadee67f9fcf93cbc5d/sdks/python/apache_beam/options/pipeline_options.py#L261]
I assume this resolves the issue, please reopen if not.
> PipelineOptions should warn if there are unused options
> -------------------------------------------------------
>
> Key: BEAM-1318
> URL: https://issues.apache.org/jira/browse/BEAM-1318
> Project: Beam
> Issue Type: New Feature
> Components: sdk-py-core
> Reporter: Ahmet Altay
> Priority: Minor
> Labels: newbie, starter
> Fix For: 2.11.0
>
>
> Since PipelineOptions uses argparse, it is possible that some options are
> actually consumed by the program. In that case a better usage pattern would
> be to pass only unconsumed options to PipelineOptions but we cannot enforce
> this.
> This cannot be an error because of the above reason, but we can show a
> warning.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)