snowflake.snowpark.functions.object_pick¶
- snowflake.snowpark.functions.object_pick(obj: ColumnOrName, key1: ColumnOrName, *keys: ColumnOrName) Column [source]¶
Returns a new OBJECT containing some of the key-value pairs from an existing object.
To identify the key-value pairs to include in the new object, pass in the keys as arguments, or pass in an array containing the keys.
If a specified key is not present in the input object, the key is ignored.