David,

Calcite has a concept of Adapter[1], which is similar to Flink's
Connector. Calcite already have a bunch of builtin adapters, e.g.,
JDBC, ElasticSearch, Kafka, MongoDB, Git, FileSystem, CSV. It makes
sense to have a HTTP Adapter as you described.

[1] https://calcite.apache.org/docs/adapter.html

David Radley <david_rad...@uk.ibm.com> 于2023年10月25日周三 16:53写道:
>
> Hi,
> We are looking at driving rest calls underneath SQL, for Apache Flink - 
> https://cwiki.apache.org/confluence/display/FLINK/FLIP-233%3A+Introduce+HTTP+Connector
>
> The discussion mentions 
> https://cwiki.apache.org/confluence/display/FLINK/FLIP-233%3A+Introduce+HTTP+Connector
>
> I wondered whether it would make sense to have a http rest implementation at 
> the Calcite layer. I see that you have a Kafka folder, would it make sense to 
> have an equivalent http rest folder, that would map json GET / POST json 
> payloads to sql. Or does this seem like the wrong layer?
>
> WDYT?
>
>      Kind regards, David
>
>
>
> Unless otherwise stated above:
>
> IBM United Kingdom Limited
> Registered in England and Wales with number 741598
> Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU



-- 

Best,
Benchao Li

Reply via email to