Ricardo Ortiz
12/22/2023, 4:52 PMvolume_anomalies test. The test is configured this way:
version: 2
models:
- name: stg_cloud_stateful__account
config:
elementary:
timestamp_column: account_create_date
tests:
- elementary.volume_anomalies:
tags: ["elementary"]
When I run dbt test --select tag:elementary It doesn't work >>>> The selection criterion 'tag:elementary' does not match any nodes
If I try dbt test --select stg_cloud_stateful__account it doesn't find any test at all associated with the model
My question is how a simple dbt test (e.g. unique) run without any issue while setting up the Elementary test as presented in the docs fails to run?Ella Katz
01/02/2024, 4:01 PMdbt run -s elementary ?
also, do other tests you add on this same model in this same yml file work?Ricardo Ortiz
01/04/2024, 10:51 PMdbt run -s elementary I got this error:
The selection criterion 'elementary' does not match any nodesI'm using a github codespaces inside a branch where the anomaly tests are set up.
Ella Katz
01/05/2024, 10:57 AMRicardo Ortiz
01/05/2024, 4:37 PMElla Katz
01/05/2024, 6:22 PMdbt_packages, and running dbt run -s elementary should find and run them, so it feels like some kind of environment issue.
Can you confirm that the path <dbt-project-root>/dbt_packages/elementary exists and contains all the macros and models as seen on our github repo?Norm Warren
01/30/2024, 12:01 AM23:56:43 Installing elementary-data/elementary
23:56:43 Installed from version 0.13.2Norm Warren
01/30/2024, 12:01 AMNorm Warren
01/30/2024, 12:02 AMOfek Weiss
02/04/2024, 3:04 PMdbt.log file
if you prefer privately thats great tooBhavya Kalra
04/10/2024, 11:22 AM