Expand description
list-returning scalar UDFs: jsonb_entries, jsonb_elements, jsonb_path_elements
List-returning JSONB scalar UDFs: jsonb_entries, jsonb_elements, jsonb_path_elements.
Unlike the other scalar JSONB UDFs, these return a plain Arrow List (never
Dictionary<Int32, List<…>>), because unnest() cannot expand a dictionary-wrapped list —
see the plan this module implements. properties columns are dictionary-encoded, so a
dictionary fast path builds the list once per unique blob and expands it to row count via
take, instead of re-parsing the same bytes on every row.
Structs§
- Jsonb
Elements - A scalar UDF that expands a JSONB array into a list of its elements.
- Jsonb
Entries - A scalar UDF that expands a JSONB object or array into a list of
{key, value}entries. - Jsonb
Path Elements - A scalar UDF that expands all matches of a JSONPath expression on a JSONB value into a list.
Functions§
- make_
jsonb_ elements_ udf - Creates a user-defined function that expands a JSONB array into its elements.
- make_
jsonb_ entries_ udf - Creates a user-defined function that expands a JSONB object or array into
{key, value}entries. - make_
jsonb_ path_ elements_ udf - Creates a user-defined function that expands all JSONPath matches from a JSONB value into a list.