bytes_concat_agg
Concatenates BYTES chunks in aggregate input order, preserving an aggregate ORDER BY clause when supplied.
Example
Runs locally
{"id":"sample_yrqb2u","title":"Sample"}
API reference
bytes_concat_agg(BYTES) #
Returns the ordered concatenation of BYTES chunks. Empty groups and groups containing NULL return NULL.
Inputs
| Name | Type | Use |
|---|---|---|
chunk | BYTES BYTES fragment. Supply aggregate ORDER BY for deterministic framing; any NULL chunk makes the group result NULL. | required positional |
Returns
| Name | Type |
|---|---|
bytes | BYTES |
Concatenated bytes. Returns BYTES in aggregate order. Empty groups and groups containing at least one NULL return NULL.
Examples
Runs locally
{"id":"sample_eq8lq1","title":"Sample"}