[
https://issues.apache.org/jira/browse/CASSANDRA-19105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17885206#comment-17885206
]
Brad Schoening edited comment on CASSANDRA-19105 at 9/27/24 5:15 AM:
---------------------------------------------------------------------
[~gautamg] great, it appears to work fine now. Looks really very nice!
However the one line of logic in cqlshmain.py is a bit hard to follow. I've
been wondering if CAPTURE ON/OFF/Str should use the SwitchState class and add a
new on_off_switch_with_str_value.
If this is simple, and elegant, it would be good to do. But if it's not so
easy, we should consider raising that as a separate Jira and not delay this
current fix of a rather troublesome bug.
was (Author: bschoeni):
[~gautamg] great, it appears to work fine now. Looks really very nice!
However the one line of logic in cqlshmain.py is a bit hard to follow. I've
been wondering if CAPTURE ON/OFF/Str should use the SwitchState class and add a
new on_off_switch_with_str_value.
If this is simple, and elegant, it would be good to do. But if it's not so
easy, we should consider raising that as a separate Jira and get this current
one committed.
> 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]