Skip to content

Conversation

@ivancea
Copy link
Contributor

@ivancea ivancea commented Feb 27, 2025

Backports the following commits to 9.0:

…c#123492)

Fixes elastic#123430

There were 2 problems here:
- We were filling a static field (used to auto-cast string literals) within a constructor, which is also called in multiple places
- The field was only filled with non-snapshot functions, so snapshot function auto-casting wasn't possible

Fixed both bugs by making the field non-static instead, and a fix to use the snapshot registry (if available) in the string casting rule.
@ivancea ivancea added :Analytics/ES|QL AKA ESQL >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) test-release Trigger CI checks against release build labels Feb 27, 2025
@elasticsearchmachine elasticsearchmachine merged commit 321c3c3 into elastic:9.0 Feb 27, 2025
17 checks passed
@ivancea ivancea deleted the backport/9.0/pr-123492 branch February 27, 2025 11:28
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-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) test-release Trigger CI checks against release build v9.0.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants