Skip to main content
The Ingest Engine scalar functions are based on Apache DataFusion and these docs are derived from the DataFusion function reference.

Quick reference

struct

Returns an Arrow struct using the specified input expressions. Fields in the returned struct use the cN naming convention. For example: c0, c1, c2, etc.
For example, this query converts two columns a and b to a single column with a struct type of fields c0 and c1:

Arguments

  • expression_n: Expression to include in the output struct. Can be a constant, column, or function, and any combination of arithmetic or string operators.
Last modified on October 1, 2026