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

Brad Schoening edited comment on CASSANDRA-19462 at 3/8/24 7:22 PM:
--------------------------------------------------------------------

Tab completion on trunk works for me with python 3.11 and Ventura, but w/out 
pyreadline.
{quote}% ./bin/cqlsh

Connected to *Test Cluster* at 127.0.0.1:9042

[cqlsh 6.3.0 | Cassandra 5.0-beta1 | CQL spec 3.4.7 | Native protocol v5]

cassandra@cqlsh> select * from system_auth.<tab>

cidr_groups                    identity_to_role               
resource_role_permissons_index role_permissions cidr_permissions               
network_permissions            role_members                   roles             
            
{quote}
 

When I installed pyreadline 2.1 <2015-09-16>, tab completion stopped working 
with trunk, but it does work with pip installed cqlsh.

The cqlsh with pip is based on Cassandra version 4.1.1


was (Author: bschoeni):
Tab completion on trunk works for me with python 3.11 and Ventura, but w/out 
pyreadline.
{quote}% ./bin/cqlsh

Connected to *Test Cluster* at 127.0.0.1:9042

[cqlsh 6.3.0 | Cassandra 5.0-beta1 | CQL spec 3.4.7 | Native protocol v5]

cassandra@cqlsh> select * from system_auth.<tab>

cidr_groups                    identity_to_role               
resource_role_permissons_index role_permissions cidr_permissions               
network_permissions            role_members                   roles             
            
{quote}
 

When I installed pyreadline, tab completion stopped working with trunk, but it 
does work with pip installed cqlsh.

The cqlsh with pip is based on Cassandra version 4.1.1

> cqlsh does not autocomplete table names in MacOS
> ------------------------------------------------
>
>                 Key: CASSANDRA-19462
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19462
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL/Interpreter
>            Reporter: Stefan Miklosovic
>            Assignee: Brad Schoening
>            Priority: Normal
>
> I am on MacBook with Sonoma 
> {code}
> $ uname -a
> Darwin stefanm-mac-0 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:59 
> PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6030 arm64
> {code}
> What is interesting is that ./bin/cqlsh works but when I am tabbing like 
> {code}
> select * from system_auth.<TAB>
> {code}
> This does not work.
> It does work when I install cqlsh from pip though.
> I have pyreadline installed,
> I have two pythons 3.10 and 3.9.6. I installed 3.10 from brew and 3.9.6 is 
> from Sonoma itself.
> Could somebody with Mac verify that tab completion works (or does not) when 
> invoking ./bin/cqlsh from Cassandra?



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

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

Reply via email to