You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2023/03/21 23:31:00 UTC

[jira] [Comment Edited] (CASSANDRA-18353) Cqlsh command "COPY … TO STDOUT" fails with "… object is not callable"

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

Brandon Williams edited comment on CASSANDRA-18353 at 3/21/23 11:30 PM:
------------------------------------------------------------------------

Smoke test added [here|https://github.com/driftx/cassandra-dtest/tree/CASSANDRA-18353].

||Branch||CI||
|[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-18353-4.1]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/920/workflows/0981782b-05d3-477a-8e50-c62cb3e72454], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/920/workflows/eda54ced-beb2-44cb-968c-e500025f099c]|
|[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-18353-trunk]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/919/workflows/79fb096d-33f3-492e-bcdc-629fcd0feb59], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/919/workflows/cf90aa9a-4a05-4131-8a7d-b078fff578ab]|


was (Author: brandon.williams):
Smoke test added [here|https://github.com/driftx/cassandra-dtest/tree/CASSANDRA-18353].

||Branch||CI||
|[4.1|https://github.com/driftx/cassandra/tree/CASSANDRA-18353-4.1]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/918/workflows/a117d9f1-950a-4c13-b078-731edf9fe650], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/918/workflows/0f1ac205-05ea-4496-b96c-45d214739d11]|
|[trunk|https://github.com/driftx/cassandra/tree/CASSANDRA-18353-trunk]|[j8|https://app.circleci.com/pipelines/github/driftx/cassandra/917/workflows/410a318e-9063-4136-840c-9666b0a457d1], [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/917/workflows/99ff6804-dfb4-47d1-9cbd-636c5ce5327f]|

> Cqlsh command "COPY … TO STDOUT" fails with "… object is not callable"
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-18353
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18353
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/cqlsh
>            Reporter: Gustav Broberg
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 4.1.x, 5.x
>
>
> Since 4.1.0, cqlsh fails on COPY commands with standard output as target. 
> Steps to reproduce:
> {noformat}
> $> docker run -d --name cassandra --rm cassandra:4.1.1
> $> docker exec cassandra cqlsh -e 'COPY system.local(cluster_name) TO STDOUT'
>   <stdin>:1:'NoneType' object is not callable
> {noformat}
> Possibly a regression introduced by this commit [6341319|https://github.com/apache/cassandra/commit/634131961af9c1d88b34797c1c45000f71a76dae#diff-584645e6e932edd7a17f03c79ae87b1f1f8ed54919a31ce8785af156b89c0b76L260].
> Also, it looks like it has happened before: CASSANDRA-12497



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org