snowflake.snowpark.functions.object_pick¶
- snowflake.snowpark.functions.object_pick(obj: Union[Column, str], key1: Union[Column, str], *keys: Union[Column, str]) 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.
- Example::