version: 2 sources: - name: src_exchange_mysql description: Source data from snowflake 'DEV_CIEF_RAW_DB' database: | {%- if target.name == "prod" -%} PROD_CIEF_RAW_DB {%- else -%} DEV_CIEF_RAW_DB {%- endif -%} schema: EXCHANGE_MYSQL tables: - name: countries description: Raw `countries` table from Snowflake columns: - name: id description: Primary key for 'countries' tests: - unique - not_null loaded_at_field: _source_loaded_at freshness: warn_after: {count: 2, period: hour} error_after: {count: 24, period: hour}