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

Brad Schoening commented on CASSANDRA-19105:
--------------------------------------------

[~brandon.williams] regarding the traces session, were you suggesting that 
should go to the console with the trace output or to the file which is 
capturing the data output?

It looks a little out of context in the data output file:
{noformat}
Tracing session: ab8198f0-5e95-11ef-a9de-599298477fb2




 id                                   | bytes_in | bytes_out | 
columnfamily_name   | compacted_at                    | keyspace_name | 
rows_merged
--------------------------------------+----------+-----------+---------------------+---------------------------------+---------------+--------------------
 c311f740-5e94-11ef-a9de-599298477fb2 |        0 |         0 |            
triggers | 2024-08-20 01:37:29.280000+0000 | system_schema |               null
 c30992d0-5e94-11ef-a9de-599298477fb2 |    18593 |      7401 |             
columns | 2024-08-20 01:37:29.310000+0000 | system_schema | {1: 5, 2: 1, 3: 2}
 c3288c80-5e94-11ef-a9de-599298477fb2 |        0 |         0 | 
sstable_activity_v2 | 2024-08-20 01:37:29.432000+0000 |        system |         
      null
 c32223ea-5e94-11ef-a9de-599298477fb2 |        0 |         0 |    
sstable_activity | 2024-08-20 
 c32446c0-5e94-11ef-a9de-599298477fb2 |        0 |         0 | 
sstable_activity_v2 | 2024-08-20 01:37:29.401000+0000 |        system |         
      null


(5 rows){noformat}

> Using Capture to save results in CQLSH with Tracing on incorrectly saves the 
> trace details
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-19105
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19105
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL/Interpreter
>            Reporter: Brad Schoening
>            Assignee: Gautam G
>            Priority: Normal
>
> When using *Tracing* in CQLSH, it's sometimes helpful to use *Capture* to 
> avoid paging through output when you want to see the trace results.  However, 
> the trace results are also incorrectly captured to the output file.
> According to *Help Capture* (below), only the query result should be saved. 
> The correct behavior should display the trace results and only capture the 
> query results.
>         {_}Help capture message{_}:  Only query result output is captured. 
> Errors and output from cqlsh-only commands will still be shown in the cqlsh 
> session.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to