Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 1.6.latest] Timeout BQ queries #926

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

github-actions[bot]
Copy link
Contributor

Backport 2eb407d from #902.

* use dynamic schema in test_grant_access_to.py

* use dynamic schema in test_grant_access_to.py

* experiment with query job cancel on timeout

* modify unit tests

* remove test grants change

* starting functional test

* update functional test and experiment with polling logic

* experiment with async wait_for

* modifying connections.py for asyncio logic

* swap back to new_event_loop

* close loop, now seeing asyncio timeoutError

* improve order and update functional test

* update unit test

* add changie

* add max_result back to result call in async path

* rescope the dbt_profile_target to being a class fixture

* raise DbtRuntimeError instead database

* remove exception type check in job timeout

---------

Co-authored-by: Matthew McKnight <matthew.mcknight@dbtlabs.com>
Co-authored-by: Matthew McKnight <91097623+McKnight-42@users.noreply.github.com>
(cherry picked from commit 2eb407d)
@github-actions github-actions bot requested a review from a team as a code owner September 15, 2023 16:02
@github-actions github-actions bot requested a review from Fleid September 15, 2023 16:02
@cla-bot cla-bot bot added the cla:yes label Sep 15, 2023
@colin-rogers-dbt colin-rogers-dbt enabled auto-merge (squash) September 15, 2023 17:05
@mikealfare
Copy link
Contributor

Give it the old turn it off and on again to trigger stalled CI.

@mikealfare mikealfare closed this Sep 15, 2023
auto-merge was automatically disabled September 15, 2023 17:07

Pull request was closed

@mikealfare mikealfare reopened this Sep 15, 2023
@mikealfare mikealfare enabled auto-merge (squash) September 15, 2023 17:08
@mikealfare mikealfare merged commit e3a94ed into 1.6.latest Sep 15, 2023
28 checks passed
@mikealfare mikealfare deleted the backport-902-to-1.6.latest branch September 15, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants