-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
Refactor poll_query_status in EMRContainerHook #19877
Comments
Hi. I would like to work on this issue. Can you assign it to me? |
Go ahead! |
Thanks @patrikhv - let me know if I can help in any way! (original PR contributor and EMR team member) |
Hi, I am working on that, but I do not have any idea how to refactor it. I already just did a more explicit call, if the query is in a completed stage. Can you give me any tips? |
Had a chat with dacort. They mentioned that the change they had in mind was that we don't actually confirm that the state is at a terminal state, only that it is not at an intermediate state. I can't think of any other changes I'd make to it. |
@patrikhv - It looks to me like adding in the explicit "is it a terminal state?" check is all that is needed here. You want to put in the PR? |
@ferruzzi since patrikhv is not working on it. Do you want to put a PR to solve this? |
@eladkal I have a few other things I'm working on. I can have a look when I get time, but it'll likely be a couple weeks unless somebody gets to it before then. |
Hello! I am new to the community and would like to take this on as my first issue. May I submit a PR for this? @eladkal |
Feel fre to attempt it :). Maybe @ferruzzi will be able to help with reviewing it :) |
Body
The goal is to refactor the code so that we can remove this TODO
airflow/airflow/providers/amazon/aws/hooks/emr_containers.py
Lines 174 to 176 in 7640ba4
More information about the concerns can be found on #16766 (comment)
Committer
The text was updated successfully, but these errors were encountered: