## Groups - အဖွဲ့ ဖွဲ့လို့ ရ ။ ဥပမာ - ```yaml models: my_project_name: marts: customers: +group: customer_success finance: +group: finance ``` ## Access - Group တွေ ပေါ်မူတည်ပီး `ref` လုပ်တဲ့အခါမှာ အကန့်အသတ် လုပ်လို့ ရ။ ၃ မျိူး ရှိ။ 1. private - same group မှာ ပဲ သုံး။ 2. protected - same project မှာပဲ သုံး။ 3. public - ဘယ် group / package / project ကနေ မဆို လှမ်းသုံးလို့ ရ။ - Example Error - ```console dbt run -s marketing_model ... dbt.exceptions.DbtReferenceError: Parsing Error Node model.jaffle_shop.marketing_model attempted to reference node model.jaffle_shop.finance_model, which is not allowed because the referenced node is private to the finance group. ``` ## Exposures - dbt project တွေအတွက် သုံးစွဲမှု အပေါ် (ဥပမာ - Dashboard, Application, Data Science pipeline) မူတည်ပြီး လိုအပ်တာကိုပဲ ရွေး run လို့ ရအောင် exposure ကြေညာလို့ ရတယ်။ - Exposures ကို `<model_name>.yml` file တစ်ခုခု မှာ `exposures:` key ကို သုံးပြီး ကြေညာတယ်။ - မဖြစ်မနေ လိုအပ်တဲ့ properties တွေက - name - type - `dashboard`, `notebook`, `analysis`, `ml`, `application` - owner - `name` or `email` ```console dbt run -s +exposure:weekly_jaffle_report dbt test -s +exposure:weekly_jaffle_report ```