ES|QL TO_TEXT function
Converts a value to text.
field-
Input value. The input can be a single- or multi-valued column or an expression.
Converts an input value into text.
| field | result |
|---|---|
| keyword | text |
| text | text |
ROW a = ["this", "is", "a", "text"]
| EVAL text_a = TO_TEXT(a)
| a:keyword | text_a:text |
|---|---|
| [this, is, a, text] | [this, is, a, text] |