Replies: 1 comment 10 replies
-
Thanks for your issue, caching could make sense. We can consider to put a caching wrapper on an inner function that contains
How many models do you have? I'm wondering which scale you have that lead you to hit this throttling. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently we started hitting
ThrottlingException
onGetWorkGroup
calls at this spot in the code:https://github.com/dbt-athena/dbt-athena/blob/a1b8db5de90b20557bcd5e0c51a30177bcddaa5f/dbt/adapters/athena/impl.py#L231
From CloudTrail it looks like
dbt-athena
winds up making aGetWorkGroup
call for every model run. There's no documented quota for this call but obviously we're hitting one. ActualStartQueryExecution
can go 20/second or burst to 80/second soGetWorkGroup
definitely seems to be below that in any case.Anyone else hit this? Can we cache the results of
GetWorkGroup
to avoid it?Beta Was this translation helpful? Give feedback.
All reactions