Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Preserve __alias__ when mapping streams with repeated schema messages #1524

Merged
merged 5 commits into from
Mar 24, 2023
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions singer_sdk/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,9 @@ def register_raw_stream_schema(
]

for stream_map_key, stream_def in self.stream_maps_dict.items():
stream_def = (
dict(stream_def) if isinstance(stream_def, dict) else stream_def
)
edgarrmondragon marked this conversation as resolved.
Show resolved Hide resolved
stream_alias: str = stream_map_key
source_stream: str = stream_map_key
if isinstance(stream_def, str) and stream_def != NULL_STRING:
Expand Down