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

Allow SqlType to parse "CHARACTER" and add tests for every other possible type that could be passed in. #294

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

nicktobey
Copy link

SqlType is a function in Vitess for normalizing every type name. It was missing an entry for the "CHARACTER" keyword.

I added tests that should verify every single valid type keyword in the grammar, so this shouldn't happen again.

@nicktobey nicktobey requested a review from zachmu as a code owner December 7, 2023 01:03
Copy link

@jennifersp jennifersp left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for fixing this and adding test for all types.

@nicktobey nicktobey merged commit 88fb354 into main Dec 7, 2023
4 checks passed
@nicktobey nicktobey deleted the nicktobey/sql branch December 7, 2023 01: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.

2 participants