-
Notifications
You must be signed in to change notification settings - Fork 25.7k
ESQL: Fix enrich and lookup join resolution based on min transport version #137431
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
Merged
alex-spies
merged 57 commits into
elastic:main
from
alex-spies:fix-enrich-lj-resolution-min-transport-version
Dec 2, 2025
+825
−232
Merged
Changes from 6 commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
55556b7
Restrict EnrichPolicyResolver to supported types
alex-spies 3b2aa0d
Update docs/changelog/137431.yaml
alex-spies 3ca4ed9
Plumb minimum version into ENRICH resolution
alex-spies 117bccf
[CI] Update transport version definitions
c9fc534
Merge remote-tracking branch 'upstream/main' into fix-enrich-lj-resol…
alex-spies 6387ac6
[CI] Update transport version definitions
04329c5
Plumb minimumVersion into the profile
alex-spies 6a30c94
Update tests
alex-spies 0ab7c07
Assert minimum version in AllSupportedFields tests
alex-spies fff61c3
Fix tests some more
alex-spies c923ad3
Fix test
alex-spies a2c5123
Merge remote-tracking branch 'upstream/main' into fix-enrich-lj-resol…
alex-spies e7c628b
Fix test expectations
alex-spies ea39c52
[CI] Update transport version definitions
11de8ec
Add test for ROW
alex-spies 27d56f8
Remove obsolete expectations
alex-spies 22b7aa5
WIP: LOOKUP JOIN tests
alex-spies 6cf55ee
Consider min version from LOOKUP JOIN resolution
alex-spies f7939c0
Fix serialization exception
alex-spies bb1d7a1
Finish test for cluster-local LOOKUP JOIN
alex-spies c78dbd9
Rename minimumVersion->minimumTransportVersion in profile
alex-spies 73b05d9
Add test with ROW | ENRICH
alex-spies 3afd809
Fix + test ROW | ENRICH
alex-spies d08f481
Delete docs/changelog/137431.yaml
alex-spies 7402ff0
Update docs/changelog/137431.yaml
alex-spies 482404e
Delete docs/changelog/137431.yaml
alex-spies 855fd38
Update docs/changelog/137431.yaml
alex-spies 2b84f68
Fix bug
alex-spies cd8cb65
Add comment
alex-spies 022c9c2
Merge remote-tracking branch 'upstream/main' into fix-enrich-lj-resol…
alex-spies 15b607b
[CI] Update transport version definitions
8db7bd9
Remove leftovers
alex-spies edf69b3
Clarify comment
alex-spies 1a3ddc8
Improve log message
alex-spies 1a8cbe4
Rename resolveAsMergedMapping->resolveIndexPattern
alex-spies ced04e1
Obtain local cluster version from ClusterState
alex-spies c68bc07
Update comment
alex-spies 31f8a1a
Fix comment
alex-spies b3b1fe6
Fix some more comments
alex-spies 5b41cce
Merge remote-tracking branch 'upstream/main' into fix-enrich-lj-resol…
alex-spies 8a6fb3c
Minor simplification
alex-spies 853d867
Fix tests
alex-spies 8e4852b
Fix comment
alex-spies 8d62430
[CI] Update transport version definitions
e48a1fa
Simplify leftovers
alex-spies 3dd0261
Fix checkstyle violations
alex-spies ae90dd8
Handle null values in profile's minimum version
alex-spies aa2fb92
Fix another test
alex-spies 7e2bf04
Add test for FROM *:* (only remote indices)
alex-spies aa0693c
Add test for FROM | ENRICH
alex-spies 4dfbb65
Add test for FROM | LOOKUP JOIN
alex-spies 59e0ef7
Force lookup joins onto remotes for good measure
alex-spies 87f4fa0
Make assertion stricter in test
alex-spies 2c5e937
Merge branch 'main' into fix-enrich-lj-resolution-min-transport-version
craigtaverner 14b2e4d
Merge branch 'main' into fix-enrich-lj-resolution-min-transport-version
alex-spies 08eae94
Merge remote-tracking branch 'upstream/main' into fix-enrich-lj-resol…
alex-spies f3559db
[CI] Update transport version definitions
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| pr: 137431 | ||
| summary: Fix enrich and lookup join resolution based on min transport version | ||
| area: ES|QL | ||
| type: bug | ||
| issues: [] |
1 change: 1 addition & 0 deletions
1
...ources/transport/definitions/referable/esql_use_minimum_version_for_enrich_resolution.csv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 9211000,9185007 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| ilm_searchable_snapshot_opt_out_clone,9185006 | ||
| esql_use_minimum_version_for_enrich_resolution,9185007 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| add_sample_method_downsample_ilm,9210000 | ||
| esql_use_minimum_version_for_enrich_resolution,9211000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.