apache/airflow

Add functionality to DatabricksHook to create notebooks

Closed

#22,330 opened on Mar 17, 2022

 (7 comments) (0 reactions) (0 assignees)Python (16,781 forks)batch import
area:providersgood first issuekind:featureprovider:databricks

Repository metrics

Stars
 (44,809 stars)
PR merge metrics
 (Avg merge 7d 18h) (834 merged PRs in 30d)

Description

Description

Currently, there is no way to programmatically create a notebook in Databricks using the core provider components (DatabricksHook, DatabricksRunNowOperator, or DatabricksSubmitRunOperator). If implemented, this change would allow Airflow users to create a Scala, R, Python, or SQL notebook in DBFS programmatically from Airflow.

Use case/motivation

This would be useful for our users who are hosting their notebooks in an Airflow repository and would like to utilize advantages of tools like jinja templating, orchestration, git version control, etc.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Contributor guide