Skip to content

[Bug] Duplicate column definition causing dbt1033 warning #57

@dataders

Description

@dataders

Description

When running dbt parse, a dbt1033 warning is raised due to a duplicate column definition in a YAML schema file.

Affected Files and Columns

Model File Duplicate Column
models/staging/stg_linkedin_ads__monthly_ad_analytics_by_region.sql clicks

Warning Message

warning: dbt1033: Column 'clicks' is defined multiple times in '...'. Only the last definition will be used.

Suggested Fix

Remove the duplicate column definition from the YAML schema file, keeping only one definition (preferably the most complete one with description, tests, etc.).

Environment

  • dbt version: 1.9.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions