Connector/Source: Publish the *request* object in the record transformation like the config, stream_slice, stream_interval, etc. are #49971
rpopov
started this conversation in
Connector Ideas and Features
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Status in Airbyte 1.2.0
The record transformation allows removing existing fields from the record and adding new fields by calculating them using:
Example
The JIRA /issue response:
In JIRA the list of custom fields is highly dynamic, and it makes no practical sense to have a single record per issue, combining in it all standard and custom fields.
Instead, the JIRA issue can be represented using 2 tables:
ISSUE 1 --- * CUSTOM_FIELD
in one-to-many / master-detail relation.Turning the response into a list of records, one per custom field, could be done by iterating over the schema.* sub-list in the response, but taking their values from the fields map and taking their human-readble names from the name map.
Problem
In this configuration, the fields and names maps are not accessible. They could be, if the response object were available in the Tranformations' context. The response object exists in the context of the Pagination section.
Suggestion
Beta Was this translation helpful? Give feedback.
All reactions