patricker opened a new issue, #26095:
URL: https://github.com/apache/airflow/issues/26095

   ### Apache Airflow Provider(s)
   
   google
   
   ### Versions of Apache Airflow Providers
   
   8.3.0
   
   ### Apache Airflow version
   
   2.3.4
   
   ### Operating System
   
   Debian
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   When executing a query through a BigQuery Hook Cursor that does not have a 
schema, an exception is thrown.
   
   ### What you think should happen instead
   
   If a cursor does not contain a schema, revert to a `self.description` of 
None, like before the update.
   
   ### How to reproduce
   
   Execute an `UPDATE` sql statement using a cursor.
   
   ```
   conn = bigquery_hook.get_conn()
   cursor = conn.cursor()
   cursor.execute(sql)
   ```
   
   ### Anything else
   
   I'll be the first to admit that my users are slightly abusing cursors in 
BigQuery by running all statement types through them, but BigQuery doesn't care 
and lets you.
   
   Ref: https://github.com/apache/airflow/issues/22328
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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