Loading

ES|QL TO_VERSION function

Embedded
field

Input value. The input can be a single- or multi-valued column or an expression.

Converts an input string to a version value.

field result
keyword version
text version
version version
ROW v = TO_VERSION("1.2.3")
		
v:version
1.2.3