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

David Alves updated CASSANDRA-4584:
-----------------------------------

    Attachment: 4584.patch

patch that adds the keyword "trace" to cql3.

tracing is forced for a query when the keyword is prepended (e.g. "trace select 
* from "Standard1";)

the CqlResult from the query includes the session uuid so that clients may use 
it to query the events/sessions tables

adds support for showing said uuid in cqlsh *but* couldn't figure out how to 
format it in intelligible form (only gibberish is printed, uuid is returned as 
bytes, tried using the formatting methods but ultimately gave up, need help).

also altered cassandra-dbapi2 so that cursor now includes the uuid from the 
reponse (submitted patch in 
http://code.google.com/a/apache-extras.org/p/cassandra-dbapi2/issues/detail?id=24)


                
> 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
>             Fix For: 1.2.0
>
>         Attachments: 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