groupArrayInsertAt
Introduced in: v1.1.0 Inserts a value into the array at the specified position. If in one query several values are inserted into the same position, the function behaves in the following ways:- If a query is executed in a single thread, the first one of the inserted values is used.
- If a query is executed in multiple threads, the resulting value is an undetermined one of the inserted values.
default_xโ Optional. Default value for substituting in empty positions.Anysizeโ Optional. Length of the resulting array. When using this parameter, the default valuedefault_xmust be specified.UInt32
xโ Value to be inserted.Anyposโ Position at which the specified elementxis to be inserted. Index numbering in the array starts from zero.UInt32
Array
Examples
Basic usage without parameters
Query
Response
Query
Response
Query
Response
Query
Response