Uh oh!
There was an error while loading. Please reload this page.
Add Deferrable switch to SnowflakeSqlApiOperator - #31596
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| resp = await response.json() | ||
| return self._process_response(status_code, resp) |
There was a problem hiding this comment.
I wonder if we should make the response body be fetched lazily, what could take a while (and might actually be the part worth deferring—not sure)
There was a problem hiding this comment.
@uranusjr I'm not sure I understand you completely, but based on what I got. The function get_sql_api_query_status_async is called indirectly when we are polling for the status of the query within triggered. So deferring it would not be ideal, right?
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
07d3fae to
b39b57bComparepotiuk
commented
Jul 3, 2023
I think you should rebase/solve conflicts on that one jsut to be sure. |
Uh oh!
There was an error while loading. Please reload this page.
This PR donates the SnowflakeSqlApiOperator deferrable developed in astronomer-providers repo to Apache airflow.