Can I disable the `on-run-end` hooks or results uploading?
Can I disable the `on-run-end` hooks or results uploading?
dbt_project.yml.
It’s possible to configure to disable with a condition like specific env.Here are examples:Disable specific hooks (the recommended method) -Can I select / exclude elementary tests only?
Can I select / exclude elementary tests only?
Can I disable / exclude the Elementary models?
Can I disable / exclude the Elementary models?
- Use the selector
--exclude elementarywhen you rundbt run. - Set a var that disables the models by default. On version upgrades you could pass it as true.
- on your
dbt_project.ymladd:
- When you upgrade elementary run
- If you choose to disable Elementary models from your runs and want to update them at your own time.
Can I change the Elementary schema?
Can I change the Elementary schema?
dbt_project.yml.
In short, the default dbt generate_schema_name macro concatenate the value provided in schema configuration key to the target schema, as in: target_schema_custom_schema.If you want a different behaviour, like configuring a full name for the Elementary schema, you can override the default generate_schema_name macro with your logic.
Before you do that, make sure that there isn’t already a macro named generate_schema_name.sql in your project.Here is a macro you can use that would search for a config under meta named schema_name.
If it exists, that would be the schema name. If not - the original dbt logic would be followed:elementary_data_observability:What is the Elementary schema?
What is the Elementary schema?
Which tests can I see on Elementary report?
Which tests can I see on Elementary report?
Elementary supports custom tests / singular tests? How can I add configuration to custom tests?
Elementary supports custom tests / singular tests? How can I add configuration to custom tests?
- Alerts: Full support.
- Report: Only tests that
refone model are presented in the report under the relevant model.
How to run full-refresh / truncate Elementary's incremental models?
How to run full-refresh / truncate Elementary's incremental models?
elementary_full_refresh var like this:What permissions Elementary requires?
What permissions Elementary requires?
profiles.yml file with the relevant profile, write files to disk,
and network access to the data warehouse.Also, in the elementary profile, the credentials should have permissions to read and write the elementary schema, and execute queries.Can I use Elementary with dbt cloud?
Can I use Elementary with dbt cloud?
Can I control the test result samples?
Can I control the test result samples?
test_result_rows, then displays them in the Results tab of the report.By default, Elementary saves 5 rows per test, but you have several options to control this:- Change the sample size globally or per-test using
test_sample_row_count - Disable samples for specific tests using
disable_test_samplesin the test meta - Protect PII by automatically disabling samples for tables tagged with sensitive data tags
- Elementary Cloud users can also request environment-level controls from the Elementary team
dbt_project.yml file:0:Is Elementary free? Does Elementary cost money?
Is Elementary free? Does Elementary cost money?
My question is not listed here
My question is not listed here
Documentation gap, and we could add the missing question (and answer) to the docs.
