You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Rick Shaw (JIRA)" <ji...@apache.org> on 2011/07/12 04:57:00 UTC

[jira] [Created] (CASSANDRA-2884) CQL processing engine should provide server side data binding to pre-compiled CQL scripts

CQL processing engine should provide server side data binding to pre-compiled CQL scripts
-----------------------------------------------------------------------------------------

                 Key: CASSANDRA-2884
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2884
             Project: Cassandra
          Issue Type: New Feature
          Components: API
    Affects Versions: 0.8.1
            Reporter: Rick Shaw
             Fix For: 1.0


The notion of "Prepared" statements is derived from JDBC lore, but is equally useful for the other supported clients of CQL. In order to support server-side binding and pre-compiled code referenceable from the client side, the API (currently Thrift based) will need to be enhanced to pass both script (CQL) and the binding arguments to the server. In addition the parser will need to recognize the place holders for the bound variables ("?"). And the product of the parse will need to be savable and a reference or handle will need to be returned to the client side caller. The execution of C* API calls will need to be moved from the parsers action routines where it is currently executed as the script is parsed, and moved to another "execution" engine that calls API methods and uses the bound variables and the stored pre-compiled code to drive the process.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CASSANDRA-2884) CQL processing engine should provide server side data binding to pre-compiled CQL scripts

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-2884.
---------------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 1.0)

> CQL processing engine should provide server side data binding to pre-compiled CQL scripts
> -----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2884
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2884
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API
>    Affects Versions: 0.8.1
>            Reporter: Rick Shaw
>              Labels: API, CQL
>
> The notion of "Prepared" statements is derived from JDBC lore, but is equally useful for the other supported clients of CQL. In order to support server-side binding and pre-compiled code referenceable from the client side, the API (currently Thrift based) will need to be enhanced to pass both script (CQL) and the binding arguments to the server. In addition the parser will need to recognize the place holders for the bound variables ("?"). And the product of the parse will need to be savable and a reference or handle will need to be returned to the client side caller. The execution of C* API calls will need to be moved from the parsers action routines where it is currently executed as the script is parsed, and moved to another "execution" engine that calls API methods and uses the bound variables and the stored pre-compiled code to drive the process.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-2884) CQL processing engine should provide server side data binding to pre-compiled CQL scripts

Posted by "Rick Shaw (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093372#comment-13093372 ] 

Rick Shaw commented on CASSANDRA-2884:
--------------------------------------

Yes. Seems like it to me as well. 

> CQL processing engine should provide server side data binding to pre-compiled CQL scripts
> -----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2884
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2884
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API
>    Affects Versions: 0.8.1
>            Reporter: Rick Shaw
>              Labels: API, CQL
>             Fix For: 1.0
>
>
> The notion of "Prepared" statements is derived from JDBC lore, but is equally useful for the other supported clients of CQL. In order to support server-side binding and pre-compiled code referenceable from the client side, the API (currently Thrift based) will need to be enhanced to pass both script (CQL) and the binding arguments to the server. In addition the parser will need to recognize the place holders for the bound variables ("?"). And the product of the parse will need to be savable and a reference or handle will need to be returned to the client side caller. The execution of C* API calls will need to be moved from the parsers action routines where it is currently executed as the script is parsed, and moved to another "execution" engine that calls API methods and uses the bound variables and the stored pre-compiled code to drive the process.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-2884) CQL processing engine should provide server side data binding to pre-compiled CQL scripts

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093193#comment-13093193 ] 

Jonathan Ellis commented on CASSANDRA-2884:
-------------------------------------------

Is this ticket the same as CASSANDRA-2475 ?

> CQL processing engine should provide server side data binding to pre-compiled CQL scripts
> -----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2884
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2884
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API
>    Affects Versions: 0.8.1
>            Reporter: Rick Shaw
>              Labels: API, CQL
>             Fix For: 1.0
>
>
> The notion of "Prepared" statements is derived from JDBC lore, but is equally useful for the other supported clients of CQL. In order to support server-side binding and pre-compiled code referenceable from the client side, the API (currently Thrift based) will need to be enhanced to pass both script (CQL) and the binding arguments to the server. In addition the parser will need to recognize the place holders for the bound variables ("?"). And the product of the parse will need to be savable and a reference or handle will need to be returned to the client side caller. The execution of C* API calls will need to be moved from the parsers action routines where it is currently executed as the script is parsed, and moved to another "execution" engine that calls API methods and uses the bound variables and the stored pre-compiled code to drive the process.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira