[
https://issues.apache.org/jira/browse/CASSANDRA-19462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17910889#comment-17910889
]
Brad Schoening commented on CASSANDRA-19462:
--------------------------------------------
[~smiklosovic] ./bin/cqlsh, cqlsh.py and pip installed cqlsh might be using
different python versions with different library package paths.
If you run '{*}set -x ./bin/cqlsh{*}' you'll see what the shell script is
doing. The cqlsh.py script invokes */usr/bin/env python3* as a shebang.
{quote}% which python3
/opt/homebrew/bin/python3
% which python
/usr/local/opt/python/libexec/bin/python
{quote}
> cqlsh does not autocomplete table names in MacOS
> ------------------------------------------------
>
> Key: CASSANDRA-19462
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19462
> Project: Apache 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: [email protected]
For additional commands, e-mail: [email protected]