shunping commented on code in PR #40675:
URL: https://github.com/apache/beam/pull/40675#discussion_r4340316955
##########
sdks/python/apache_beam/options/pipeline_options.py:
##########
@@ -1044,6 +1044,15 @@ def _add_argparse_args(cls, parser):
'resolved by the Google Cloud client library, which honors '
'GOOGLE_CLOUD_UNIVERSE_DOMAIN and otherwise uses the default '
'public URL (%s).' % cls.DATAFLOW_ENDPOINT))
+ parser.add_argument(
+ '--bigquery_endpoint',
Review Comment:
Good catch. Java actually expect the option name to be `big_query_endpoint`
because in the equivalent getter in Java is `getBigQueryEndpoint`.
Changed the code to support both `--bigquery_endpoint` and
`--big_query_endpoint`. Also modified the `__getattr__` and `__setattr__` in
`BigQueryOptions`, so `options.bigquery_endpoint` is mapped to
`options.big_query_endpoint`.
--
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]