Hi David, as Bechao Li mentioned it would make sense to have it inHCalcite
However, since it is not clear to me from the initial mail I would write it here please keep in mind that the concept of Adapter in Calcite and connectors in Flink are two independent things. On Wed, Oct 25, 2023 at 1:27 PM Benchao Li <[email protected]> wrote: > 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 <[email protected]> 于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 > -- Best regards, Sergey
