You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2016/04/08 23:21:25 UTC

[jira] [Updated] (CALCITE-1195) Create docs for interacting with Avatica server using json+curl

     [ https://issues.apache.org/jira/browse/CALCITE-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Elser updated CALCITE-1195:
--------------------------------
    Description: 
A repeated problem I hear from people is that they are trying to use outdated CURL commands with JSON to "test" out the server.

People will get to {{prepareAndExecute}} and then the query will fail.

It appears that CALCITE-718 in 1.4.0-incubating changed the semantics of this request implementation to require a Statement to already exist in the server (by {{CreateStatement}}), whereas previous versions automatically created this Statement as a part of the call.

We can get around this issue by just keep up-to-date docs on what the CURL commands to run are for simple actions.

  was:
A repeated problem I hear from people is that they are trying to use outdated CURL commands with JSON to "test" out the server.

People will get to {{prepareAndExecute}} and then the query will fail.

It appears that CALCITE-718 in 1.4.0-incubating changed the semantics of this request implementation to require a Statement to already exist in the server (by {{CreateStatement}]), whereas previous versions automatically created this Statement as a part of the call.

We can get around this issue by just keep up-to-date docs on what the CURL commands to run are for simple actions.


> Create docs for interacting with Avatica server using json+curl
> ---------------------------------------------------------------
>
>                 Key: CALCITE-1195
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1195
>             Project: Calcite
>          Issue Type: Task
>          Components: avatica
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: avatica-1.8.0
>
>
> A repeated problem I hear from people is that they are trying to use outdated CURL commands with JSON to "test" out the server.
> People will get to {{prepareAndExecute}} and then the query will fail.
> It appears that CALCITE-718 in 1.4.0-incubating changed the semantics of this request implementation to require a Statement to already exist in the server (by {{CreateStatement}}), whereas previous versions automatically created this Statement as a part of the call.
> We can get around this issue by just keep up-to-date docs on what the CURL commands to run are for simple actions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)