# Remove map entry by key > Supported in: Batch, Streaming Removes a map entry by the given key. **Expression categories:** Map ## Declared arguments * **Key:** Key of the entry to remove.*Expression\* * **Map:** Map expression.*Expression\>* **Type variable bounds:** *K accepts AnyType\*\*V accepts AnyType* **Output type:** *Map\* ## Examples ### Example 1: Base case **Argument values:** * **Key:** k * **Map:** `map_col` | map\_col | **Output** | | ----- | ----- | | { a -> 1, k -> 2,} | { a -> 1,} | *** ### Example 2: Base case **Argument values:** * **Key:** j * **Map:** `map_col` | map\_col | **Output** | | ----- | ----- | | { a -> 1, k -> 2,} | { a -> 1, k -> 2,} | *** ### Example 3: Null case (ANSI mode on) **Argument values:** * **Key:** *null* * **Map:** `map_col` | map\_col | **Output** | | ----- | ----- | | { a -> foo,} | *null* | *** ### Example 4: Null case **Argument values:** * **Key:** k * **Map:** `map_col` | map\_col | **Output** | | ----- | ----- | | *null* | *null* | *** ### Example 5: Null case (ANSI mode off) **Argument values:** * **Key:** *null* * **Map:** `map_col` | map\_col | **Output** | | ----- | ----- | | { a -> foo,} | { a -> foo,} | ***