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 support for serverless cluster in Databricks operator in databricks provider #45138

Open
2 tasks done
HariGS-DB opened this issue Dec 21, 2024 · 2 comments
Open
2 tasks done
Assignees
Labels
area:providers kind:feature Feature Requests needs-triage label for new issues that we didn't triage yet provider:databricks

Comments

@HariGS-DB
Copy link

Description

The current Databricks operator to run jobs (DatabricksNotebookOperator, DatabricksTaskOperator and DatabricksWorkflowTaskGroupOperator) doesn't support serverless. All the above operators expect either an existing_cluster_id or job_cluster_key, whereas neither should be passed for serverless workflow. The work required is :

  • add a named parameter to support environments which are used for serverless
  • add a named_parameter called is_serverless as boolean. This flag will make existing_cluster_id and job_cluster_key optional and submit a serverless job
  • Update doc to reflect the new addition

Use case/motivation

This change will allow users to submit a Databricks serverless job for DatabricksNotebookOperator, DatabricksTaskOperator and DatabricksWorkflowTaskGroupOperator which is currently supported for only DatabricksSubmitRunOperator

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@HariGS-DB HariGS-DB added kind:feature Feature Requests needs-triage label for new issues that we didn't triage yet labels Dec 21, 2024
Copy link

boring-cyborg bot commented Dec 21, 2024

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

@potiuk
Copy link
Member

potiuk commented Dec 21, 2024

feel free

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers kind:feature Feature Requests needs-triage label for new issues that we didn't triage yet provider:databricks
Projects
None yet
Development

No branches or pull requests

2 participants