# When DBT performs checks on column names using the definition in the model property yaml file

**URL:** https://discourse.getdbt.com/t/when-dbt-performs-checks-on-column-names-using-the-definition-in-the-model-property-yaml-file/12751
**Category:** Help
**Tags:** snowflake, dbt-core
**Created:** [April 4, 2024, 11:24am UTC](https://discourse.getdbt.com/t/when-dbt-performs-checks-on-column-names-using-the-definition-in-the-model-property-yaml-file/12751 "2024-04-04T11:24:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hongz](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/hongz/32/3845_2.png) [@hongz](https://discourse.getdbt.com/u/hongz)
#### Post date: [April 4, 2024, 11:24am UTC](https://discourse.getdbt.com/t/when-dbt-performs-checks-on-column-names-using-the-definition-in-the-model-property-yaml-file/12751/1 "2024-04-04T11:24:25Z")

</div>

## The problem I’m having

We have a model SQL file and a property YML file in our project with one incorrect column name defined in the YML file. However when we executed `dbt run` cli from local container, it didn’t error out but did throw exceptions while running the same in ECS task in AWS.

What could be the cause of it? or in which scenario dbt enforces column name validation? Thanks

## The context of why I’m trying to do this

To find out the root cause of it and get it resolved

## What I’ve already tried

- making sure same dbt image is used in both envs
- making sure same dbt cli is executed in both envs, i.e. dbt run

## Some example code or error messages

model SQL file

```auto
select 
  col_A, col_B
from {{ ref("source_name") }}

```

property YML file

```auto
version: 2
models:
 - name: sample_model
   columns:
    - name: col_A
    - name: col_C

```
