STRING_MIN_EACH
Collects the minimum value per given group.
This is the string comparison equivalent of MIN_EACH
.
Syntax
Arguments
MAX_VALUES
MAX_VALUES
Type: integer
Default: 2,147,483,647
(Optional) The maximum number of groups. Groups beyond this amount are discarded. When omitted, there is effectively no limit.
In some cases, discarding groups via this option may cause some data to be discarded from groups that would otherwise have been kept.
GROUP
GROUP
Type: any
The field to group by.
VALUE
VALUE
Type: string
The field to get the minimum value of.
Returns
Type: array
Returns an array of key-value pairs where each GROUP
is matched to the minimum VALUE
seen for that group.
Last updated