I’m fairly new in DBT and trying to explore how to exposures. I’ve already read the documentation ( Exposures | docs.getdbt.com ), but I do not feel that I get the answers to my questions.
I’m well aware of the concept that you create an exposures file in your models’ folder, then you declare the table name and the other tables/sources that it depends on.
Q1 - Should I state the whole downstream of tables or just the direct tables that it depends on?
Q2 - What exact benefit does it do? Can you come up with a specific scenario?
Q3 - what the purpose of dbt run -m exposure:name and dbt test -m exposure:name? Is it testing the model or the exposure?
I’ve done exactly what they say in the documentation, I just do not get how I can use it.
Thank you in advance