This section is aimed at collecting common questions users have to provide documented answers.
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 disable / exclude the Elementary models?
--exclude elementary
when you run dbt run
.dbt_project.yml
add: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?
Which tests can I see on Elementary report?
Elementary supports custom tests / singular tests? How can I add configuration to custom tests?
ref
one model are presented in the report under the relevant model.How to run full-refresh / truncate Elementary's incremental models?
elementary_full_refresh
var like this: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 see more result samples in the report?
test_result_rows
, then displays them in the Results tab of the report.By default, Elementary saves 5 rows per test, but you can change this number by setting the variable test_sample_row_count
to the number of rows you want to save. For example, to save 10 rows per test, add the following to your dbt_project.yml
file:--vars
flag when you run dbt test
:Is Elementary free? Does Elementary cost money?
My question is not listed here
Documentation gap
, and we could add the missing question (and answer) to the docs.