DBT Test: Dbt Utils Accepted Range Sei Pcs Brazil Soy By Year Tmp 1000 Fob 0
DBT test name: dbt_utils_accepted_range_sei_pcs_brazil_soy_by_year_tmp_1000_FOB__0
DBT details
-
Kind:
generic(accepted_range) -
Column under test:
FOB -
Test file: trase/data_pipeline/models/brazil/soy/sei_pcs/v2_7_0/_schema.yml
Description
No description
Details
{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias="dbt_utils_accepted_range_sei_p_c179c52aa72785602837070742b2d7c2") }}
with meet_condition as(
select *
from "memory"."main"."sei_pcs_brazil_soy_by_year_tmp_1000"
),
validation_errors as (
select *
from meet_condition
where
-- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds
1 = 2
-- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.
or not FOB >= 0
)
select *
from validation_errors