[
https://issues.apache.org/jira/browse/CASSANDRA-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057440#comment-13057440
]
Rick Shaw commented on CASSANDRA-2475:
--------------------------------------
{quote}
I really don't see what is so complex about apply(parsed_tokens_list,
parameters) vs apply(saved_queries.get(parsed_tokens_id), parameters).
{quote}
Given that the design has such a stream I agree completely. Not complex at all.
Hence my statement:
{quote}
Even simple statements would be parsed down to the stream of tokens; It would
just be executed immediately and then tossed as opposed to cached and returning
the to the caller.
{quote}
I think we are in agreement of the need for such a precompiled item, and given
that it needs to exist anyway we might as well only have one ANTLR parser and
use its product for both simple and "prepared" statements.
> Prepared statements
> -------------------
>
> Key: CASSANDRA-2475
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2475
> Project: Cassandra
> Issue Type: Sub-task
> Components: API, Core
> Reporter: Eric Evans
> Labels: cql
> Fix For: 1.0
>
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira