Jon Erik Kemi Warghed
04/07/2023, 4:18 PMrecord_selector:
type: RecordSelector
extractor:
type: DpathExtractor
field_path:
- data
transformations:
- type: AddFields
fields:
- path: job_id
value: '{{ stream_slice.job_id }}'
- type: RemoveFields
field_pointers:
- ["attributes", "first-name"]
- ["attributes", "last-name" ]
paginator:
type: DefaultPaginator
page_token_option:
type: RequestPath
pagination_strategy:
type: CursorPagination
cursor_value: '{{ response[''links''][''next''] }}'Alexandre Girard (Airbyte)
04/07/2023, 4:21 PMJon Erik Kemi Warghed
04/07/2023, 4:23 PMJon Erik Kemi Warghed
04/07/2023, 4:23 PMJon Erik Kemi Warghed
04/07/2023, 4:23 PMJon Erik Kemi Warghed
04/07/2023, 4:25 PMAlexandre Girard (Airbyte)
04/07/2023, 4:34 PMtransformations field at the stream level or at the retriever level?
from the snippet, it looks like it's at the retriever level. Can you try moving it to the stream as per this schemaJon Erik Kemi Warghed
04/07/2023, 4:42 PMJon Erik Kemi Warghed
04/07/2023, 4:43 PMJon Erik Kemi Warghed
04/07/2023, 4:45 PMtransformations:
- type: AddFields
fields:
- path: [ "field1" ]
value: "static_value"Jon Erik Kemi Warghed
04/07/2023, 4:47 PMAlexandre Girard (Airbyte)
04/07/2023, 4:49 PMJon Erik Kemi Warghed
04/07/2023, 4:50 PMJon Erik Kemi Warghed
04/09/2023, 8:08 AM2023-04-09 07:58:30 INFO i.a.w.g.DefaultReplicationWorker(getReplicationOutput):544 - failures: [ {
"failureOrigin" : "replication",
"internalMessage" : "No properties node in stream schema",
"externalMessage" : "Something went wrong during replication",
"metadata" : {
"attemptNumber" : 1,
"jobId" : 15
},
"stacktrace" : "java.lang.RuntimeException: No properties node in stream schema\n\tat io.airbyte.workers.general.DefaultReplicationWorker.populateStreamToAllFields(DefaultReplicationWorker.java:693)\n\tat io.airbyte.workers.general.DefaultReplicationWorker.lambda$readFromSrcAndWriteToDstRunnable$7(DefaultReplicationWorker.java:384)\n\tat java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\tat java.base/java.lang.Thread.run(Thread.java:1589)\n",
"timestamp" : 1681027049119
} ]Jon Erik Kemi Warghed
04/09/2023, 8:09 AMJon Erik Kemi Warghed
04/11/2023, 7:10 AM