Table function
NULL array emits one all-NULL output row. A NULL struct element emits one all-NULL row.
Syntax
Table
Arguments
Returns
- Type: TABLE with the struct field types
- NULL behavior: NULL array emits one all-NULL output row. A NULL struct element emits one all-NULL row.
- Empty input: One all-NULL row for an empty array.
- Shape: The output has one column for each struct field, with the element field types.
- Ordering: Input element order is preserved by expansion; SQL output order requires ORDER BY.
Properties
Usage notes
- Deterministic: The same inputs and settings produce the same result.
Examples
Typical behavior
Preserve a NULL struct element
Limitations
- Exactly one ARRAY<STRUCT> argument is required.
Last modified on October 15, 2026