From 283c6c6b1a892b9746b649efb0f6b9714d6870db Mon Sep 17 00:00:00 2001 From: Ayoubhm07 Date: Tue, 6 Oct 2026 09:36:04 +0100 Subject: [PATCH] [Python] Remove leftover "### Labels" debug log in the BigQuery source _CustomBigQueryStorageSource._setup_temporary_dataset logged the dataset labels at warning level, right before passing them to create_temporary_dataset. The "###" prefix appears in no other logging call under sdks/python/apache_beam, and str() is redundant with %s, both of which point at a debug print rather than an intended log line. The labels come from the user, so the value carries no information the caller does not already have. The line dates back to #15602 and no test refers to it. _LOGGER is still used at nine call sites in the module. --- sdks/python/apache_beam/io/gcp/bigquery.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sdks/python/apache_beam/io/gcp/bigquery.py b/sdks/python/apache_beam/io/gcp/bigquery.py index 0caac19fb792..f6dd781695ca 100644 --- a/sdks/python/apache_beam/io/gcp/bigquery.py +++ b/sdks/python/apache_beam/io/gcp/bigquery.py @@ -1149,7 +1149,6 @@ def _setup_temporary_dataset(self, bq): return location = bq.get_query_location( self._get_parent_project(), self.query.get(), self.use_legacy_sql) - _LOGGER.warning("### Labels: %s", str(self.bigquery_dataset_labels)) bq.create_temporary_dataset( self._get_parent_project(), location,