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

Fix MatchOperator class structure and serialization code for 8.x #120836

Conversation

carlosdelest
Copy link
Member

@carlosdelest carlosdelest commented Jan 24, 2025

#120504 introduced a serialization bug for MatchOperator. readFrom and writeTo are not symmetric, and this causes bwc test errors in main for #120360.

Also, the main goal of extracting an AbstractMatchFullTextFunction was to make Match and MatchOperator to inherit from it. MatchOperator did not do so, and this is corrected as well on this PR.

This PR solves both issues first in 8.x, and will be backported to main to ensure bwc tests can pass.

@carlosdelest carlosdelest added auto-backport Automatically create backport pull requests when merged v9.0.0 >non-issue :Analytics/ES|QL AKA ESQL labels Jan 24, 2025
@carlosdelest
Copy link
Member Author

Fixed by not serializing MatchOperator in #120360.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL auto-backport Automatically create backport pull requests when merged >non-issue v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants