GithubHelp home page GithubHelp logo

Comments (3)

RafaelCartenet avatar RafaelCartenet commented on June 12, 2024

Exactly this, thanks @jlaneve

from astro-provider-databricks.

dimberman avatar dimberman commented on June 12, 2024

Hi @jlaneve @RafaelCartenet

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.

RafaelCartenet avatar RafaelCartenet commented on June 12, 2024

@dimberman Very true!
Thanks a lot! Will try it out!
Have a good one

from astro-provider-databricks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.