davidradl commented on PR #36:
URL:
https://github.com/apache/flink-connector-http/pull/36#issuecomment-4096781402
After further investigation we are now thinking there is a better way that
would make the population of the body much more intuitive for this query
creator. The idea is to remove `http.request.additional-body-json` and
`http.request.body-fields` and add `http.request.body-template`. This will
contain the body that we want to send
‘
{
“Id” : <customerId>,
“Orders” : {
“orderId”: <topOrderId>,
“version: “1.0”,
“Address” : {
“streetName”: <topStreetName>,
“City”: <topCity>,
“Country” : “UK”
}
}
}
‘
where the angled bracket names are top level columns. The join keys must
only reference top level lookup table columns, but may need to be put into a
nested part of the body.
Prototyping this; as it appears to be a way to cover all cases in a
reasonably simple and intuitive manner, without the need for path mapping.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]