etlplus.ops.transformations.select

etlplus.ops.transformations.select module.

Select helpers shared by etlplus.ops.transform and custom runners.

Use apply_select() for direct field projection. Use apply_select_step() when you need the pipeline-style adapter consumed by etlplus.ops.transform.transform(). The normalization helper is_plain_fields_list() and compatibility alias is_sequence_not_text() are public for callers that need to validate select-step configs before orchestration.

Functions

apply_select(records, fields)

Keep only the requested fields in each record.

apply_select_step(records, spec)

Apply a select/project pipeline step to a list of records.

is_plain_fields_list(obj)

Return True if obj is a non-text sequence of non-mapping items.

is_sequence_not_text(obj)

Return True for non-text sequences.