<#3200 feat: Expose new variable `__original_strea...
# meltano-repo-activity
g
#3200 feat: Expose new variable
__original_stream_name__
in stream maps
Pull request opened by ReubenFrankel
The original name of the stream. Useful when
__alias__
is specified but you want to reference the original (unaliased) stream name elsewhere (e.g. property mapping). If
__alias__
is not specified, this will reference the same value as
__stream_name__
.
Closes #3199 ## Summary by Sourcery Add support for an original_stream_name variable in stream maps by passing the original stream name into the mapper, exposing it in the transform context, and including tests and documentation updates New Features: • Expose original_stream_name variable in stream mapping context to reference the original (unaliased) stream name Documentation: • Document the new original_stream_name variable and update stream_name description Tests: • Add tests for mapping scenarios with and without alias to validate original_stream_name meltano/sdk