From d87909e8504147d5b144547d66e330d0394bf801 Mon Sep 17 00:00:00 2001 From: thatInfrastructureGuy Date: Tue, 10 Dec 2024 17:41:03 -0800 Subject: [PATCH] Display Job URL at Info Log Level Original Discussion at https://github.com/dbt-labs/dbt-bigquery/pull/697/files#r1212630246 > Job URL is super useful even beyond debugging code, since it's the ground truth of what logic and process is actually executing the model Signed-off-by: thatInfrastructureGuy --- .changes/unreleased/Features-20241210-175614.yaml | 6 ++++++ dbt/adapters/bigquery/connections.py | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 .changes/unreleased/Features-20241210-175614.yaml diff --git a/.changes/unreleased/Features-20241210-175614.yaml b/.changes/unreleased/Features-20241210-175614.yaml new file mode 100644 index 000000000..f233ec324 --- /dev/null +++ b/.changes/unreleased/Features-20241210-175614.yaml @@ -0,0 +1,6 @@ +kind: Features +body: Display Job URL at Info Log Level +time: 2024-12-10T17:56:14.943063-08:00 +custom: + Author: thatInfrastructureGuy + Issue: "696" diff --git a/dbt/adapters/bigquery/connections.py b/dbt/adapters/bigquery/connections.py index bb062f330..a0047e504 100644 --- a/dbt/adapters/bigquery/connections.py +++ b/dbt/adapters/bigquery/connections.py @@ -578,9 +578,7 @@ def _query_and_results( and query_job.job_id is not None and query_job.project is not None ): - logger.debug( - self._bq_job_link(query_job.location, query_job.project, query_job.job_id) - ) + logger.info(self._bq_job_link(query_job.location, query_job.project, query_job.job_id)) timeout = self._retry.create_job_execution_timeout() try: