Supported in: Batch, Streaming
Changes the values of the input column to new values based on a map of key-value pairs. If the input value is not found in the map, the default value is used.
Expression categories: Data preparation
Type variable bounds: T1 accepts ComparableType**T2 accepts AnyType
Output type: T2
Argument values:
country
country | Output |
---|---|
United Kingdom | UK |
Denmark | DNK |
United States of America | null |
Argument values:
country
country
country | Output |
---|---|
United Kingdom | null |
null | null |
Argument values:
country
country
country | Output |
---|---|
United Kingdom | null |
null | null |
Argument values:
country
country
country | Output |
---|---|
United Kingdom | UK |
null | null |