MAP_DELETE

functionsupportedCore SQL functions

docs.snowflake.com ↗

Semi-structured and structured data functions

Returns a MAP based on an existing MAP with one or more keys removed.

Syntax

supportedpartialnot supportednot scored

MAP_DELETE( <map>, <key1> [, <key2>, ... ] )

Parameters

NameRequiredDescription
maprequiredThe map that contains the key to remove.
keyNrequiredThe key to be omitted from the returned map.

Returns

Returns a MAP that contains the contents of the input (source) map with one or more keys removed.

Usage notes