DBT Test: Check Id Palm Unknown Refinery Seipcs Indonesia Palm Oil 2021 Km 0 Mgd 30 Patched
DBT test name: check_id_palm_unknown_refinery_seipcs_indonesia_palm_oil_2021_km_0_mgd_30_patched_
DBT details
-
Kind:
generic(check_id_palm_unknown_refinery) -
Test file: trase/data_pipeline/models/indonesia/palm_oil/sei_pcs/_schema.yml
Description
No description
Details
{{ test_check_id_palm_unknown_refinery(**_dbt_generic_test_kwargs) }}{{ config(alias="check_id_palm_unknown_refinery_049412bc2f79ad96eb0df019c7381430") }}
/*
* This test fails if any flows of Indonesia palm oil with an UNKNOWN refinery do not
* have an UNKNOWN refinery_group.
*/
select 'some columns have incorrect values' as error
from "trase_production"."main_indonesia_palm"."seipcs_indonesia_palm_oil_2021_km_0_mgd_30_patched"
where refinery = 'UNKNOWN' and not refinery_group = 'UNKNOWN'
limit 1