[ https://issues.apache.org/jira/browse/AIRFLOW-6091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Potiuk resolved AIRFLOW-6091. ----------------------------------- Fix Version/s: 1.10.7 Resolution: Fixed Also cherry-picked to 1.10.7 > BigQueryCursor doesn't properly clean buffer, page_token and all_pages_loaded > before starting .execute() method > --------------------------------------------------------------------------------------------------------------- > > Key: AIRFLOW-6091 > URL: https://issues.apache.org/jira/browse/AIRFLOW-6091 > Project: Apache Airflow > Issue Type: Bug > Components: hooks > Affects Versions: 1.10.6 > Reporter: Tomasz Żukowski > Assignee: Tomasz Żukowski > Priority: Major > Fix For: 1.10.7 > > > There are two cases when it might be dangerous: > * If you run cursor.execute() and cursor.fetchall() and then once again > cursor.execute() for another query cursor.fetchall() will return empty list > because will be still set to True > * If you run cursor.execute() and cursor.fetchone() or fetchmany() and don't > read whole results and then run cursor.execute() with different query next > call to next will return data from old job which will be still stored in > buffer. -- This message was sent by Atlassian Jira (v8.3.4#803005)