You are viewing documentation about an older version (1.3.0). View latest version

snowflake.snowpark.functions.array_prepend

snowflake.snowpark.functions.array_prepend(array: ColumnOrName, element: ColumnOrName) Column[source]

Returns an ARRAY containing the new element as well as all elements from the source ARRAY. The new element is positioned at the beginning of the ARRAY.

Parameters:
  • ARRAY. (array Column containing the source) –

  • prepended. (element Column containing the element to be) –