Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/changelog/135051.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,13 @@ summary: Ban Limit + `MvExpand` before remote Enrich
area: ES|QL
type: bug
issues: []
highlight:
title: Mark Limit + MvExpand before remote Enrich as unsupported
body: |-
Due to the distribured nature of remote `ENRICH`, using a `LIMIT` command followed by a `MV_EXPAND` command before a remote `ENRICH` command
Copy link
Contributor

Choose a reason for hiding this comment

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

typodistribured

can lead to incorrect results. Such queries are identified by the engine and marked as unsupported, leading to query failure. Example:
[source,yaml]
----------------------------
FROM *:events | SORT @timestamp | LIMIT 2 | MV_EXPAND ip | ENRICH _remote:clientip_policy ON ip
----------------------------
Such query will now produce an error. The users are advised to rewrite it (e.g. by placing `ENRICH` earlier in the query) to avoid the error.