FaresDev8 commented on issue #53127: URL: https://github.com/apache/airflow/issues/53127#issuecomment-3066949638
Hey @prohackerzzz, as @jroachgolf84 mentioned the solution need to be in the (_format_schema_for_description) function it self here: https://github.com/apache/airflow/blob/e142ab96a0ecbb953e9fb8ab6d17b4c2a7624aba/providers/google/src/airflow/providers/google/cloud/hooks/bigquery.py#L2061-L2062 The solution can be as simple as adding an if statement to check if the "fields" key exists and since this function only loops on "fields" then this check would do. `if "fields" in schema:` -- 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]
