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: conditionally quote identifiers that start with a digit #1729

Merged
merged 6 commits into from
Jun 6, 2023

Conversation

georgesittas
Copy link
Collaborator

Fixes #1727

sqlglot/dialects/hive.py Outdated Show resolved Hide resolved
@tobymao tobymao merged commit cad14bd into main Jun 6, 2023
@tobymao tobymao deleted the jo/digit_identifier_fixup branch June 6, 2023 17:44
@vegarsti
Copy link
Contributor

vegarsti commented Jun 6, 2023

Thanks!

adrianisk pushed a commit to adrianisk/sqlglot that referenced this pull request Jun 21, 2023
…#1729)

* Fix: conditionally quote identifiers that start with a digit

* Fixups

* PR feedback

* Comment fixup

* Bring the tokenizer cache back

* Move setting logic to metaclass
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.

Trino aliases cannot start with an integer if unquoted
3 participants