Supported in: Batch
Replaces values from the target columns in the source dataset with values in the mapping dataset.
Transform categories: Join
Type variable bounds: T1 accepts AnyType**T2 accepts AnyType
Argument values:
flight_codeflight_no, next_flight]flight_numberInputs: 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 |