Tomasz Żukowski created AIRFLOW-6091:
----------------------------------------

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


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)

Reply via email to