Skip to content

Conversation

@georgesittas
Copy link
Contributor

No description provided.

Comment on lines -646 to -648
# It doesn't work the other way which is what we currently expect
with pytest.raises(ParseError):
normalize_model_name("`catalog`.`db`.`table`", default_catalog=None, dialect=None)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is due to this commit. The normalize_model_name helper relies on to_table under the hood, which is now more lenient and doesn't fail despite the presence of backticks & absence of a dialect like "bigquery".

Basically, the behavior introduced by that sqlglot change is that this table name now literally includes the backticks in the table parts.

@georgesittas georgesittas requested a review from a team June 9, 2025 17:25
@georgesittas georgesittas merged commit 28155b3 into main Jun 11, 2025
25 checks passed
@georgesittas georgesittas deleted the jo/bump_sqlglot_to_v26_26_0 branch June 11, 2025 09:31
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