jroachgolf84 commented on issue #53127: URL: https://github.com/apache/airflow/issues/53127#issuecomment-3057209993
I'm not quite sure if this code snippet below will do the trick. Even if `query_results["schema"]` exists, that does not guarantee that the `"fields"` key will exist. The change needs to be made in here: https://github.com/apache/airflow/blob/e142ab96a0ecbb953e9fb8ab6d17b4c2a7624aba/providers/google/src/airflow/providers/google/cloud/hooks/bigquery.py#L2061-L2062 ```python # This will NOT fix the issue if query_results["schema"]: self.description = _format_schema_for_description(query_results["schema"]) else: self.description = [] ``` -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org