Comments (3)
Exactly this, thanks @jlaneve
from astro-provider-databricks.
I think this functionality already exists within the current feature set :).
Ultimately, you seem to want to have the abstraction of Airlfow task groups and the "single job run" of a DatabricksWorkflowTaskGroup. This should be doable by placing your Airflow task groups inside of a DatabricksWorkflowTaskGroup.
So if you have
dg = DatabricksWorkflowTaskGroup()
with dg:
tg1 = TaskGroup()
with tg:
...
That should accomplish what you want, where there is a single launch for multiple task groups.
The downside of this is that your entire DAG will be inside of a single task group. One solution could be to create a DatabricksWorkflowDAG that assumes the entire DAG is a single databricks workflow (cc: @jlaneve @tatiana for whether we want to prioritize that or not), but this should at least unblock the functionality (even if it is a bit clunky in the UI).
from astro-provider-databricks.
@dimberman Very true!
Thanks a lot! Will try it out!
Have a good one
from astro-provider-databricks.
Related Issues (20)
- The launch task currently has a downstream dependency on all tasks, not just direct ones
- Support templating in the field notebook_params of the DatabricksNotebookOperator
- Error while trying to use existing_cluster_id instead of Job Cluster
- Enhancement - Authentication using OAuth tokens for service principals.
- Task names character limit in workflows
- Getting 401 Client Error: Unauthorized HOT 1
- Support for pyspark job submit for Databricks Jobs using astro provider
- Address feedback to get this work into Apache Airflow HOT 1
- Launch Operator trigger_rule Option
- Provision to pass queue name (to execute in specified airflow worker) while constructing DatabricksWorkflowTaskGroup
- Incompatible with Airflow>=2.8.0 - remove pydantic version restrictions
- Repair All failed run - inconsistent behaviour
- New Feature Request: Handling retry at the notebook level HOT 3
- Update CI to test on appropriate Airflow and Python versions.
- Support for using existing clusters in DatabricksNotebookOperator HOT 2
- Bug - Invalid dependency graph for tasks HOT 1
- Duplicate Job Creation in Databricks During Airflow DAG Runs
- Release astro-databricks-provider 0.2.2 HOT 1
- Connection to Databricks HOT 2
- Improve `DatabricksNotebookOperator` monitoring job behaviour
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astro-provider-databricks.