GithubHelp home page GithubHelp logo

Comments (1)

Thelin90 avatar Thelin90 commented on July 18, 2024

In dbt we utilise something called artifacts:

We use this to store test results into a table called dbt_results , on our project level on-run-end.

Which outputs test results to a single table with all test results.

We don’t run all jobs in one single DBT job but they are spread out.

This leads to multiple DBT jobs finishing, trying to write on

on-run-end:
    - "{{ store_dbt_results(results) }}"

The delta write lock issue then kicks in here since multiple DBT jobs, within the same single cluster, try to write their output to the results table from the actual dbt run and dbt test.

So even if we spread out the run of the jobs, collision can happen. So this retry would be good when you have a few collisions, or rare ones, we can try to avoid it as much as possible due to how we run and schedule the DBT jobs, but we still need to be able to avoid collision, when having multiple run, test output tables in this case for each run.

from dbt-trino.

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.