[ 
https://issues.apache.org/jira/browse/CASSANDRA-4584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460652#comment-13460652
 ] 

Jonathan Ellis commented on CASSANDRA-4584:
-------------------------------------------

PostgreSQL added EXPLAIN to their SQL dialect.  Their solutions are
# not allowing EXPLAINing a PREPARE, although EXPLAINing a PREPAREd query is 
okay
# hijacking the query's resultset for EXPLAIN's

I think Sylvain is right that moving TRACE into the protocol is a better 
solution.

For the purposes of beta2, let's add a TRACE cqlsh command, specific to cqlsh, 
similar to how COPY is cqlsh-only.  We can stick with thrift for now.  Created 
CASSANDRA-4699 to add it to the binary protocol.
                
> Add CQL syntax to enable request tracing
> ----------------------------------------
>
>                 Key: CASSANDRA-4584
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4584
>             Project: Cassandra
>          Issue Type: Sub-task
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Jonathan Ellis
>            Assignee: David Alves
>              Labels: cql3
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 4584.patch, 4584.patch, 4584.patch, 4584.patch, 
> 4584.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to