-
-
Notifications
You must be signed in to change notification settings - Fork 535
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
Error 1105: type time.Time not supported as bind var #7665
Comments
Hey @nustiueudinastea, thanks for reporting this issue! This fix has been merged to vitess and gms main, and is making its way to dolt main. |
Awesome, thank you! Always impressed with the speed you guys manage to fix issues. |
hey @jycor, I used the new dolt release with my code and the initial issue is fixed, but now I get a different error:
If I format the time value with something like this: Not sure if this is expected or not so it's worth mentioning it here, since probably the same vitess code is throwing this error. |
Hi @nustiueudinastea, thank you for following up and reporting this. 🙏 It looks like MySQL has more permissive behavior than Dolt when parsing datetime literals. MySQL does parse Dolt should match this same behavior, so I created a new issue to track this: #7690 Feel free to add more context on the new datetime issue. It sounds like you found a workaround for your immediate issue, but let us know if you're still blocked on this and we are happy to find a way to help. |
Using Dolt in embedded mode via the
github.com/dolthub/driver
library, and when running a migration usinghttps://github.com/bokwoon95/sqddl
, I get the following error:Running that SQL via the
dolt sql
command works as expected on the same database. Let me know if I can be of further help to troubleshoot this.The text was updated successfully, but these errors were encountered: