Skip to content

DBT Test: Check Id Palm Unknown Refinery Seipcs Indonesia Palm Oil 2022 Km 0 Mgd 30 Patched

DBT test name: check_id_palm_unknown_refinery_seipcs_indonesia_palm_oil_2022_km_0_mgd_30_patched_

DBT details


Description

No description


Details

{{ test_check_id_palm_unknown_refinery(**_dbt_generic_test_kwargs) }}{{ config(alias="check_id_palm_unknown_refinery_a8ea54a29ee8b01e5882cc23cb346706") }}
/*
 * 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_2022_km_0_mgd_30_patched"
where refinery = 'UNKNOWN' and not refinery_group = 'UNKNOWN'
limit 1