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

snowflake.snowpark.functions.object_agg

snowflake.snowpark.functions.object_agg(key: ColumnOrName, value: ColumnOrName) Column[source]

Returns one OBJECT per group. For each key-value input pair, where key must be a VARCHAR and value must be a VARIANT, the resulting OBJECT contains a key-value field.