You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 12:43:46 UTC
[GitHub] [beam] damccorm opened a new issue, #19688: Erroneous Beam Deprecation warnings are confusing Bigquery IO users.
damccorm opened a new issue, #19688:
URL: https://github.com/apache/beam/issues/19688
Bigquery sink is marked deprecated: https://github.com/apache/beam/blob/32e2e3e910619d400568073dde0d7b36698a416a/sdks/python/apache_beam/io/gcp/bigquery.py#L499, however it is used by Dataflow runner in codepath that processes WriteToBigQuery https://github.com/apache/beam/blob/32e2e3e910619d400568073dde0d7b36698a416a/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py#L680.
This generates a warning message for all BQ users, including those who use WriteToBigQuery: "Warning: BigQuerySink is deprecated since 2.11.0. Use WriteToBigQuery instead".
This message is a red herring and confuses BQ users.
One possibility to address this is to make BigQuerySink an alias for _BigQuerySink, and use _BigQuerySink internally.
Imported from Jira [BEAM-7686](https://issues.apache.org/jira/browse/BEAM-7686). Original Jira may contain additional context.
Reported by: tvalentyn.
--
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: github-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org