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

Add missing execute_complete method for DatabricksRunNowOperator #32689

Conversation

Lee-W
Copy link
Member

@Lee-W Lee-W commented Jul 19, 2023

In DatabricksRunNowOperator, we runs _handle_deferrable_databricks_operator_execution whic needs a execute_complete method. As this method does not exist, this task will fail. In this PR, I added this execute_complete method from DatabricksRunNowDeferrableOperator


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@Lee-W Lee-W marked this pull request as ready for review July 19, 2023 08:02
@Lee-W Lee-W force-pushed the add-missing-execute-complete-to-DatabricksRunNowOperator branch from 67dc7a4 to d41cdd1 Compare July 19, 2023 10:51
@eladkal eladkal changed the title fix(providers/databricks): add missing execute_complete method for DatabricksRunNowOperator Add missing execute_complete method for DatabricksRunNowOperator Jul 19, 2023
…n DatabricksRunNowDeferrableOperator

this has been moved to DatabricksRunNowOperator
@phanikumv
Copy link
Contributor

@Lee-W static checks are failing

@Lee-W Lee-W force-pushed the add-missing-execute-complete-to-DatabricksRunNowOperator branch from d41cdd1 to 72e7046 Compare July 20, 2023 05:07
@Lee-W
Copy link
Member Author

Lee-W commented Jul 20, 2023

@phanikumv Yes, there was a test failure after the fixing. Just fixed and pushed. Let see whether everything works 💪

@Lee-W Lee-W force-pushed the add-missing-execute-complete-to-DatabricksRunNowOperator branch from a35c4a1 to f5f15d8 Compare July 20, 2023 06:38
@Lee-W
Copy link
Member Author

Lee-W commented Jul 20, 2023

It's green now

@phanikumv phanikumv merged commit 6313e52 into apache:main Jul 24, 2023
@phanikumv phanikumv deleted the add-missing-execute-complete-to-DatabricksRunNowOperator branch July 24, 2023 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants