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

DBZ-8561 Correctly handle enum/set types in Vitess v20+ #222

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

twthorn
Copy link
Contributor

@twthorn twthorn commented Jan 7, 2025

See this message for core logic used. We read this new flag that is set by newer vitess versions to indicate if the enum/set values are strings (previously only in snapshot, going forward is in snapshot & regular phase).

This makes Debezium forward compatible with Vitess upgrades to v20+ so we handle enum/set types correctly.

Without these changes, if debezium/debezium#6079 is merged then tests trivially fail. With these changes and that other PR then tests pass.

Right now, since the main upgrade isn't merged, tests trivially pass (does not use any of the new code)

@twthorn
Copy link
Contributor Author

twthorn commented Jan 9, 2025

@jpechane this is ready for review when you get the chance, thanks!

@jpechane jpechane merged commit f417db1 into debezium:main Jan 10, 2025
3 checks passed
@jpechane
Copy link
Contributor

@twthorn Applied, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants