You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by al...@apache.org on 2021/10/15 03:28:55 UTC

[beam] branch master updated: Remove unnecessary ERROR logging.

This is an automated email from the ASF dual-hosted git repository.

altay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 2e4ddad  Remove unnecessary ERROR logging.
     new 08b8d5f  Merge pull request #15730 from vachan-shetty/fix-logging
2e4ddad is described below

commit 2e4ddad2cabfa52c5868ae8700a8efe35a532f10
Author: vachan-shetty <va...@google.com>
AuthorDate: Thu Oct 14 19:35:22 2021 -0400

    Remove unnecessary ERROR logging.
---
 sdks/python/apache_beam/io/gcp/bigquery.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sdks/python/apache_beam/io/gcp/bigquery.py b/sdks/python/apache_beam/io/gcp/bigquery.py
index e52ac18..9743261 100644
--- a/sdks/python/apache_beam/io/gcp/bigquery.py
+++ b/sdks/python/apache_beam/io/gcp/bigquery.py
@@ -340,7 +340,10 @@ _LOGGER = logging.getLogger(__name__)
 try:
   import google.cloud.bigquery_storage_v1 as bq_storage
 except ImportError:
-  _LOGGER.warning('ERROR: ', exc_info=True)
+  _LOGGER.info(
+      'No module named google.cloud.bigquery_storage_v1. '
+      'As a result, the ReadFromBigQuery transform *CANNOT* be '
+      'used with `method=DIRECT_READ`.')
 
 __all__ = [
     'TableRowJsonCoder',