-
Notifications
You must be signed in to change notification settings - Fork 123
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
Follow enhancement/refactor python submission in dbt-spark #178
Conversation
api_client.close() | ||
@property | ||
def python_submission_helpers(self) -> Dict[str, Type[PythonJobHelper]]: | ||
return {"commands": CommandApiPythonJobHelper} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ueshin sorry for updating things so frequent, but after talking to @lostmygithubaccount we decided to update the submission method to reflect the cluster type that we run python model on instead of the API we use.
Here's the change on the dbt-spark side.
I think for here all we need to do is change commands
to all_purpose_cluster
return {"commands": CommandApiPythonJobHelper} | |
return {"all_purpose_cluster": CommandApiPythonJobHelper} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, and maybe check_credentials
was changed.
Thanks for letting me know. I'll handle it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made minimum changes. I'll submit a follow-up PR.
Thanks! merging. |
Resolves #182
Description
Follows enhancement/refactor python submission in dbt-labs/dbt-spark#452 and dbt-labs/dbt-core#5822.