This is an automated email from the ASF dual-hosted git repository.
jrmccluskey 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 d803b846618 [Python] Remove leftover "### Labels" debug log in the
BigQuery source (#40430)
d803b846618 is described below
commit d803b846618beabfa26ea98557eb30dcef0252a3
Author: Ayoub <[email protected]>
AuthorDate: Tue Oct 6 16:13:48 2026 +0200
[Python] Remove leftover "### Labels" debug log in the BigQuery source
(#40430)
_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 0caac19fb79..f6dd781695c 100644
--- a/sdks/python/apache_beam/io/gcp/bigquery.py
+++ b/sdks/python/apache_beam/io/gcp/bigquery.py
@@ -1149,7 +1149,6 @@ class _CustomBigQueryStorageSource(BoundedSource):
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,