Skip to content

V_MAGNITUDE– scalar function to calculate the magnitude of a vector #132768

@svilen-mihaylov-elastic

Description

Implements v_magnitude for ES|QL.

FROM colors
| EVAL magnitude = V_MAGNITUDE(rgb_vector)
| SORT magnitude DESC

Metadata

Metadata

Labels

:Analytics/ES|QLAKA ESQL>enhancementTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)priority:normalA label for assessing bug priority to be used by ES engineers

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