Skip to content

feat: add case sensitivity option for generate_model_yaml column names#259

Open
guilhem-dvr wants to merge 2 commits intodbt-labs:mainfrom
guilhem-dvr:case-sensitive-column-name-generate-model-yaml
Open

feat: add case sensitivity option for generate_model_yaml column names#259
guilhem-dvr wants to merge 2 commits intodbt-labs:mainfrom
guilhem-dvr:case-sensitive-column-name-generate-model-yaml

Conversation

@guilhem-dvr
Copy link

resolves #

Problem

Column name case matters in yaml files - for instance when enabling constraints on a model. With a sufficiently many columns, you start to wish for this option to exist...

This addresses #175.

Solution

This CL adds an optional parameter to the generate_model_yaml macro to switch case sensitivity when generating model column names.

Checklist

  • This code is associated with an issue which has been triaged and accepted for development.
  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the README.md (if applicable)

@guilhem-dvr guilhem-dvr requested a review from a team as a code owner September 10, 2025 22:05
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Sep 10, 2025
@github-actions
Copy link

This PR has been marked as Stale because it has been open with no activity as of late. If you would like the PR to remain open, please comment on the PR or else it will be closed in 7 days.

@github-actions github-actions bot added the Stale label Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files. Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant