GitHub
07/30/2025, 8:08 PM__stream_name__ variable in stream maps. If used in conjunction with __alias__ to modify the stream name, __stream_name__ in other mapping expressions references the alias - not the original stream name.
stream_maps:
'*':
__alias__: disposition
original_stream_name: __stream_name__
data: record
__else__: NULL
{"type":"RECORD","stream":"disposition","record":{"original_stream_name":"disposition","data":{...},"time_extracted":"2025-07-30T193610.735039+00:00"}
It would be useful to have a new variable to reference the original stream name (not quite sure if this a feature or bug with how __stream_name__ is currently expected to work).
meltano/sdkGitHub
07/31/2025, 3:14 PM