jroachgolf84 commented on code in PR #53138:
URL: https://github.com/apache/airflow/pull/53138#discussion_r2198094707


##########
providers/google/src/airflow/providers/google/cloud/hooks/bigquery.py:
##########
@@ -1660,8 +1660,9 @@ def execute(self, operation: str, parameters: dict | None 
= None) -> None:
         self.job_id = job.job_id
         self.location = self.location or job.location
         query_results = self._get_query_result()
-        if "schema" in query_results:
-            self.description = 
_format_schema_for_description(query_results["schema"])
+        schema = query_results.get("schema")
+        if schema and isinstance(schema, dict) and "fields" in schema:

Review Comment:
   Please see other comment.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to