You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Henri Godron <en...@gmail.com> on 2022/09/17 09:03:19 UTC

Avatica http api

Hello,

Is there a documentation somewhere which explains the different kind of
responses Avatica HTTP api answers to this kind of requests :

getCatalogs
getSchemas
etc...

Went to the doc, I saw nothing
https://calcite.apache.org/avatica/docs/json_reference.html

Thanks !

Re: Avatica http api

Posted by Julian Hyde <jh...@gmail.com>.
I believe these metadata requests all get an ExecuteResponse [1]. It’s the same response as if you’d executed a SQL query.

Julian

[1] https://calcite.apache.org/avatica/docs/json_reference.html#executeresponse

> On Sep 17, 2022, at 02:04, Henri Godron <en...@gmail.com> wrote:
> 
> Hello,
> 
> Is there a documentation somewhere which explains the different kind of
> responses Avatica HTTP api answers to this kind of requests :
> 
> getCatalogs
> getSchemas
> etc...
> 
> Went to the doc, I saw nothing
> https://calcite.apache.org/avatica/docs/json_reference.html
> 
> Thanks !