scylladb / scylla-cqlsh

A fork of the cqlsh code
Apache License 2.0
11 stars 29 forks source link

CQLsh fails to redirect COPY output to STDOUT #71

Closed hopugop closed 3 months ago

hopugop commented 4 months ago

When using the redirect output to STDOUT on COPY, I consistently get an error:

# cqlsh -v
cqlsh 6.2.0
# cqlsh -e 'COPY system.config TO STDOUT WITH HEADER = true;'
<stdin>:1:'NoneType' object is not callable
# 

Result, per the manual, should be CQLsh redirecting the output to stdout. \Worked fine on cqlsh 5.0.1 as shipped with Scylla Enterprise 2023.1.4. Fails with 6.2.0 as shipped with 2024.1.0.

fruch commented 4 months ago

We already fixed that

It's not yet merged into scylla core

fruch commented 4 months ago

https://github.com/scylladb/scylla-cqlsh/commit/387f769c5f9784154a11efc6b131e75509682416

Is the fix...

fruch commented 3 months ago

already fixed and backported to the relevant branches