https://linen.dev logo
#ask-community-for-troubleshooting
Title
# ask-community-for-troubleshooting
v

valentinmk

09/06/2021, 8:53 PM
Hi all! I believe it is a very noob question, but how to add some "constant"/"fixed" value to some data from source to store it in a destination (i.g. from REST API to Postgres). I receive from REST:
Copy code
[{"a":"1"},{"b":"2"}]
I persist:
Copy code
{"a":"1", "super": "hot"}
{"b":"2", "super": "hot"}
or maybe Airbyte is not a good place to do this? Is there option to do it more beautiful than just hardcode it in
parse_response
?
1
👍 1
u

[DEPRECATED] Marcos Marx

09/06/2021, 11:10 PM
If you can send this information from the API would be the best way. Airbyte is a ELT tool and the main goal is transfer the raw data as it is. If it's not possible adding the info in the
parse_reponse
function is the place.
v

valentinmk

09/07/2021, 7:15 AM
Airbyte is a ELT tool and the main goal is transfer the raw data as it is
Yes, agree. I have realised this while I am writing my question)
4 Views