Elliot Trabac
01/23/2023, 10:45 AMquestions_stream:
$ref: "*ref(definitions.base_stream)"
$options:
name: "questions"
primary_key: "id"
path: "/question/{{ stream_slice.parent_id }}"
retriever:
$ref: "*ref(definitions.retriever)"
record_selector:
extractor:
field_pointer: []
stream_slicer:
type: SubstreamSlicer
parent_stream_configs:
- stream: "*ref(definitions.reviews_stream)"
parent_key: "question_id"
stream_slice_field: "parent_id"
The problem is that in the parent stream, most the the reviews have the same question_id.
So in the question stream I’m getting many many duplicates and the extract takes a lot of time.
What would you recommend to fetch the unique question_id in this stream?Alexandre Girard (Airbyte)
01/23/2023, 4:28 PMElliot Trabac
01/24/2023, 6:32 PM