-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Schema change parser error with json indexes on MySQL 8 #1982
Comments
osheroff
added a commit
that referenced
this issue
Mar 11, 2023
ok i posted a patch, but i don't think that index isn't doing what you want -- that's literally just indexing the string '$.teams.name', you want something like:
|
osheroff
added a commit
that referenced
this issue
Mar 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are currently running Maxwell 1.39.3 to sync a MySQL8 instance to GCP PubSub.
We encountered issue when modifying some tables with json columns.
Maxwell schema parser seems to not like some index creation on JSON fields. It will crash with following error.
ERROR SchemaChange - Error parsing SQL: 'ALTER TABLE tournaments ADD INDEX idx_team_name (('$.teams.name'))'
I don't see any SQL error in this request and it has been successfully processed by MySQL engine.
The text was updated successfully, but these errors were encountered: