# Mapping join > Supported in: Batch, Faster Replaces values from the target columns in the source dataset with values in the mapping dataset. **Transform categories**: Join ## Declared arguments * **Input dataset:** Source dataset containing columns to be mapped.
*Table* * **Key column for mapping values:** Key column for mapping values.
*Column\* * **Mapping dataset:** Dataset containing values to use for mapping.
*Table* * **Target columns:** List of columns from left that will have values replaced.
*List\>* * **Values to use for mapping:** Values to use for mapping.
*Column\* * *optional* **Assume unique mappings:** If true, a distinct operation will be applied to the key column of the mapping table. If false, and the mapping table contains duplicate keys, the resulting dataset will contain duplicate rows based on each mapping. By default, this operation is applied. Note: setting this to false may result in better performance.
*Literal\* * *optional* **Default value:** If empty, values from the target columns will remain unchanged if no mapping is found in the mapping table. By default, this is empty.
*Expression\* **Type variable bounds:** *T1 accepts AnyType\*\*T2 accepts AnyType* ## Examples ### Example 1: Base case **Argument values:** * **Input dataset:** ri.foundry.main.dataset.input * **Key column for mapping values:** `flight_code` * **Mapping dataset:** ri.foundry.main.dataset.mapping * **Target columns:** \[`flight_no`, `next_flight`] * **Values to use for mapping:** `flight_number` * **Assume unique mappings:** *null* * **Default value:** unknown **Inputs:** ri.foundry.main.dataset.input | flight\_no | next\_flight | departure\_time | | ----- | ----- | ----- | | 533 | 112 | 2022-01-20T10:45:00Z | | 934 | 533 | 2022-01-20T11:20:00Z | | 222 | 934 | 2022-01-20T11:20:00Z | ri.foundry.main.dataset.mapping | flight\_code | flight\_number | airline | | ----- | ----- | ----- | | 112 | XB-123 | foundry airlines | | 533 | MT-444 | foundry airlines | | 934 | KK-123 | new air | **Output:** | flight\_no | next\_flight | departure\_time | | ----- | ----- | ----- | | MT-444 | XB-123 | 2022-01-20T10:45:00Z | | KK-123 | MT-444 | 2022-01-20T11:20:00Z | | unknown | KK-123 | 2022-01-20T11:20:00Z | ***