Funzione array_append
Si applica a: Databricks SQL
Databricks Runtime 12.2 LTS e versioni successive
Restituisce array
accodato da elem
.
array_append(array, elem)
array
: matrice.elem
: espressione dello stesso tipo degli elementi diarray
.
Matrice dello stesso tipo di array
.
> SELECT array_append(array(1, 2, 3), 0);
[1,2,3,0]
> SELECT array_append(array(1, 2, 3), NULL);
[1,2,3,NULL]