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

CAST(.. AS INTEGER) is not supported in MySQL #12915

Open
peasee opened this issue Oct 13, 2024 · 0 comments · May be fixed by #12916
Open

CAST(.. AS INTEGER) is not supported in MySQL #12915

peasee opened this issue Oct 13, 2024 · 0 comments · May be fixed by #12916
Labels
bug Something isn't working

Comments

@peasee
Copy link
Contributor

peasee commented Oct 13, 2024

Describe the bug

CAST(.. AS INTEGER) is not supported in MySQL, as INTEGER is not a valid cast type.

To Reproduce

Create an execution plan using the MySQL Dialect that induces or includes a cast to an integer. Observe the generated SQL failing to run on a MySQL connection source, due to the CAST(.. AS INTEGER).

Expected behavior

The execution plan should generate SQL with types compatible for MySQL, when using the MySQL Dialect. In this case, CAST(.. AS SIGNED).

Additional context

No response

@peasee peasee added the bug Something isn't working label Oct 13, 2024
@peasee peasee linked a pull request Oct 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant