What's the best way to handle a child stream where...
# singer-tap-development
p
What's the best way to handle a child stream where the path needs to include a url param instead of a more traditional path segment? Could you do something like:
path = "/order-event-logs/?order={order_number}"
without messing with the
get_url_params()
override?
e
example_tap.py
Yeah,
"/order-event-logs/?order={order_number}"
should work. Tested with the above 👆
p
thanks! for some reason I was getting an error that the parent replication key wasn't found when doing it that way - any thoughts on why that might be? as soon as I revert to full replication on the child key without a parent it works fine
e
The record dictionaries are likely missing the replication key (e.g.
updated_at
). Perhaps a typo in the declared
replication_key
, or the records actually don’t include that key.