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

Online DDL/Vreplication: column type awareness #8239

Merged
merged 3 commits into from
Jun 7, 2021

Conversation

shlomi-noach
Copy link
Contributor

Fixes #8236

Description

Iporting gh-ost's test suite, JSON tests failed. This PR fixes those tests by using a CONVERT(? USING utf8mb4) in vreplication filter query, for selecting a JSON column.

Related Issue(s)

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

handling JSON type by converting it to utf8mb4

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Copy link
Member

@GuptaManan100 GuptaManan100 left a comment

Choose a reason for hiding this comment

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

LGTM! 🏎️

@shlomi-noach shlomi-noach merged commit 027ef58 into vitessio:main Jun 7, 2021
@shlomi-noach shlomi-noach deleted the online-dd-vrepl-json branch June 7, 2021 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Onlne DDL/VReplication: error copying JSON column
2 participants