DBT Test: Dbt Utils Accepted Range Brazil Soy V2 7 0 Post Embedding 2023 2025 Soy Area 0
DBT test name: dbt_utils_accepted_range_brazil_soy_v2_7_0_post_embedding_2023_2025_SOY_AREA__0
DBT details
-
Kind:
generic(accepted_range) -
Column under test:
SOY_AREA -
Test file: trase/data_pipeline/models/brazil/soy/sei_pcs/v2_7_0/_schema_post_embedding.yml
Description
No description
Details
{{ dbt_utils.test_accepted_range(**_dbt_generic_test_kwargs) }}{{ config(alias="dbt_utils_accepted_range_brazi_099e43aa42009cb1ded14aefd62876bd") }}
with meet_condition as(
select *
from "memory"."main"."brazil_soy_v2_7_0_post_embedding_2023_2025"
),
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 SOY_AREA >= 0
)
select *
from validation_errors