David Radley created FLINK-39235:
------------------------------------

             Summary: add 
                 Key: FLINK-39235
                 URL: https://issues.apache.org/jira/browse/FLINK-39235
             Project: Flink
          Issue Type: Technical Debt
          Components: Connectors / HTTP
            Reporter: David Radley


We have a propietary json format in IBM that we use that allows literals to be 
specified. 

We are looking to move off this code an use the open source connector. 
 
Initially I was thinking that we could have a subsequent view that introduced a 
constant. This works in most cases. It does not work when there is second a 
downstream lookup join when the constant is a boolean object or array. The 
reason for this i that a lookup join needs an equality from the table planner 
for the lookup join and these types correctly do not result in that.  

I propose we have a 'http.response.additional-json' similar to 
'http.request.additional-body-json' but for responses. This would hide the 
constants from the table planner. With these considerations
-  We would allow only fields that were defined in the table to be specified.  
- what do we do if the response actually returns this field. I suggest a second 
field 'response.honour.additional-json' when true means the config wins. 
- We should type check the supplied json in this config. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to