Serhii Dimchenko
04/18/2024, 8:41 PMDBT_TARGET_PATH for every models group may help in this case
Will appreciate any thoughts, suggestions regarding optimal elementary usage on big dbt projects with ~low latency required.Or Avidov
04/19/2024, 10:37 AMon-run-end hooks Elementary extracts data from the dbt results and metadata objects, and runs SQL queries to load this data to the Elementary models.
There are 2 types of models that Elementary updates :
1. Metadata and project objects and configurations - Such as dbt_models, dbt_tests, dbt_sources.
2. Result models - Such as dbt_run_results, elementary_test_results, dbt_invocations.
1. So you can disable the auto uploading of the metadata models (results have to be uploaded during the on-run-end).
2. Make sure to upload the metadata models yourself anytime you make a change to the project (merge a PR).
How?
1. Add this to dbt_project.yml:
vars:
disable_dbt_artifacts_autoupload: true
2. Make sure to run dbt run --select edr.dbt_artifacts upon merging PRs.
Also you can configure this to lower the number of columns metadata that are being uploaded (there is also a flag to disable it) -
vars:
upload_only_columns_with_descriptions: trueSerhii Dimchenko
04/19/2024, 10:40 AMdbt retry feature to handle failuresSerhii Dimchenko
04/19/2024, 10:40 AMOr Avidov
04/19/2024, 10:41 AMSerhii Dimchenko
04/19/2024, 10:43 AMOr Avidov
04/19/2024, 10:43 AMSerhii Dimchenko
04/19/2024, 10:43 AM