name: dbt-revrec
purpose: Local Airflow registration for the revrec dbt asset slice.
dbt_asset_slice:
  dag_id: orchestration_dbt_revrec_assets
  task_group_id: dbt_revrec
  owner: data-platform
  start_date: "2026-01-01T00:00:00Z"
  catchup: false
  max_active_runs: 1
  tags:
    - orchestration
    - assets
    - dbt
    - revrec
  project_path: transform/dbt
  manifest_path: orchestration/airflow/sources/dbt-revrec-manifest.json
  profiles_yml_path: transform/dbt/profiles.yml
  profile_name: pingcap_lakehouse
  target_name: dev
  dbt_executable_path: orchestration/airflow/bin/dbt-databend-shim
  target_models:
    - salesforce_org_monthly_revrec
    - salesforce_order_daily_view
  select:
    - +salesforce_org_monthly_revrec
    - +salesforce_order_daily_view
connections:
  declared_only:
    - databend_default
notes:
  - dbt execution uses orchestration/airflow/bin/dbt-databend-shim so the transform extra stays separate from Airflow's dependency environment.
  - The transform extra pins the tested dbt-databend fork branch with TiDB Cloud Lake warehouse and seed support.
  - The DAG schedule and task inlets/outlets are compiled from contracts; this file only chooses the local revrec slice.
