Skip to content

fix: ignore constraints in dbt seed column types#5535

Merged
geooo109 merged 2 commits intomainfrom
geooo109/dbt_seed_column_types
Oct 13, 2025
Merged

fix: ignore constraints in dbt seed column types#5535
geooo109 merged 2 commits intomainfrom
geooo109/dbt_seed_column_types

Conversation

@geooo109
Copy link
Contributor

@geooo109 geooo109 commented Oct 13, 2025

This PR adds support for parsing dbt seed column definitions that include constraints.

When a seed's column types config contains constraints (e.g., integer not null), SQLMesh now:

  • Extracts the base data type (integer)
  • Emits a warning that constraints are ignored

This prevents errors when dbt projects use constraint syntax in seed column type definitions, even though SQLMesh doesn't support constraints on seeds.

@geooo109 geooo109 merged commit 62fd255 into main Oct 13, 2025
36 checks passed
@geooo109 geooo109 deleted the geooo109/dbt_seed_column_types branch October 13, 2025 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants