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: Add Int32 type override for Dialects #12916

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

peasee
Copy link
Contributor

@peasee peasee commented Oct 13, 2024

Which issue does this PR close?

Closes #12915.

Rationale for this change

  • To fix a bug with casting integers in MySQL

What changes are included in this PR?

  • Adds an option to the Dialect to specify the cast type for Int32 integers, replicating the existing behavior for Int64 integers.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

@github-actions github-actions bot added the sql SQL Planner label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sql SQL Planner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CAST(.. AS INTEGER) is not supported in MySQL
1 participant