Maps & structs
Scalar
union_extract()
Extract the value with the named tags from the union. NULL if the tag is not currently selected
Arguments & returns
union_extract(union, tag)
Scalar
| Overload link | union | tag |
Returns |
|---|---|---|---|
| #01 | UNION | VARCHAR |
ANY |
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Guide example · Run to view results.
Catalog examples
SELECT
union_extract(s, 'k');