list

Every value, in the measure's order_by.

AggregateDeterministic

Flags

Flag Value
Kind aggregate
Nulls nulls are skipped
Deterministic yes
Order matters yes
Decomposable yes, by ordered lists

Example

A pipeline from the language's tested corpus that uses list, over the example tables.

Hint
from orders
aggregate {first_status = first(status, order_by: {placed}), last_status = last(status, order_by: {placed desc}), all_ids = list(id, order_by: {id}), names = string_agg(status, sep: "|", order_by: {id})} by:{customer}

In a plan:

JSON
{
  "args": [
    {
      "col": 0
    }
  ],
  "fn": "list"
}