chris_marchetti
11/09/2022, 5:16 PMchris_marchetti
11/09/2022, 5:18 PMStream A has a calendar_id
Stream B also has a calendar_id
Stream C needs the calendar_id from both Stream A and Stream B.
edgar_ramirez_mondragon
11/09/2022, 6:03 PMclass StreamA:
...
Class StreamB:
...
Class ChildA:
parent_stream_type = StreamA
Class ChildB:
parent_stream_type = StreamB
You may run into problems if using incremental replication for the child stream(s), so I’d use different stream names for each.
If the IDs overlap, then it complicates things a bit. Your use case would benefit from some form of context registry in the stream that it can use to dedup calendar IDs by skipping them if they’ve already been processed. This might not be possible to do with the stream classes as they exist, though.chris_marchetti
11/09/2022, 6:05 PM