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

Robert Stupp commented on CASSANDRA-6915:
-----------------------------------------

In RDBMS the keyword {{EXPLAIN}} describes the access path for a DML statement.
This is similar to C* trace functionality.
Maybe it's an option to add some {{EXPLAIN}} support to cqlsh using a "macro" - 
but without actually just simulating writes (so it implies native protocol 
changes and C* code changes).
{{EXPLAIN <statement>:}}
{noformat}
TRACING ON;
<statement>;
TRACING OFF;
{noformat}


> Show storage rows in cqlsh
> --------------------------
>
>                 Key: CASSANDRA-6915
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6915
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Robbie Strickland
>              Labels: cqlsh
>
> In Cassandra it's super important to understand how your CQL schema 
> translates to the underlying storage rows.  Right now the only way to see 
> this is to create the schema in cqlsh, write some data, then query it using 
> the CLI.  Obviously we don't want to be encouraging people to use the CLI 
> when it's supposed to be deprecated.  So I'd like to see a function in cqlsh 
> to do this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to