You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Tomasz Żukowski (Jira)" <ji...@apache.org> on 2019/11/27 16:40:00 UTC

[jira] [Assigned] (AIRFLOW-6091) BigQueryCursor doesn't properly clean buffer, page_token and all_pages_loaded before starting .execute() method

     [ https://issues.apache.org/jira/browse/AIRFLOW-6091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomasz Żukowski reassigned AIRFLOW-6091:
----------------------------------------

    Assignee: Tomasz Żukowski

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