MAP_DELETE
functionsupportedCore SQL functionsReturns a MAP based on an existing MAP with one or more keys removed.
Syntax
supportedpartialnot supportednot scored
MAP_DELETE( <map>, <key1> [, <key2>, ... ] )
Parameters
| Name | Required | Description |
|---|---|---|
map | required | The map that contains the key to remove. |
keyN | required | The 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
- The type of the key expression must match the type of the map’s key. If the type is VARCHAR, then the types can be different lengths.
- Key values that aren’t found in the map are ignored.