etlplus.ops.transformations.map

etlplus.ops.transformations.map module.

Map and rename helpers shared by etlplus.ops.transform and custom runners.

Use apply_map() for direct field renaming. Use apply_map_step() when you need the pipeline-style adapter consumed by etlplus.ops.transform.transform().

Functions

apply_map(records, mapping)

Map/rename fields in each record.

apply_map_step(records, spec)

Apply a map/rename pipeline step to a list of records.