Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: regression caused by optionally normalizing identifiers in renderer #3165

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

georgesittas
Copy link
Contributor

This PR reverts the normalize_identifiers changes introduced in #3077. Switching off identifier normalization has unintended side effects, e.g. find_tables treats CTE references like models if there's a casing mismatch, which can lead to more errors.

The motivation was a unit testing issue where we raised an error saying that input data for a model was missing, even though it was a CTE that we knew how to populate.

Not sure if this PR is breaking, please let me know if you think of a case where we'd need a migration and I can update the title accordingly.

@georgesittas georgesittas requested review from tobymao and a team September 23, 2024 19:08
@tobymao tobymao merged commit a84afc0 into main Sep 24, 2024
23 checks passed
@tobymao tobymao deleted the jo/always_normalize_identifiers_in_renderer branch September 24, 2024 03:07
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.

3 participants