Skip to content

ESQL: push down filters past STATS #115311

@alex-spies

Description

@alex-spies

Follow-up to #115281

The current push down optimization, where we transform ... | STATS ... BY field | WHERE field > 10 into WHERE field > 10 | STATS ... BY field (and similarly for more complex filters), does not yet take into account that field could be multivalued. In case it is, the correct push down result is EVAL field = MV_DEDUPE(field) | MV_EXPAND field | WHERE field > 10 | STATS ... BY field.

Let's make our filter push down multi-values aware.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions