cqlsh is a Python-based command-line client for running CQL commands on a scylla cluster.
Project description
scylla-cqlsh
A fork of the cqlsh from https://github.com/apache/cassandra
Creation of the repo:
git clone -b trunk --single-branch git@github.com:apache/cassandra.git
sudo apt-get install git-filter-repo
cd cassandra
git filter-repo --path bin/cqlsh --path bin/cqlsh.py --path pylib/
Testing:
pip install -e .
pip install -r pylib/requirements.txt
# run scylla with docker
docker run -d scylladb/scylla:latest --cluster-name test
export DOCKER_ID=$(docker run -d scylladb/scylla:latest --cluster-name test)
export CQL_TEST_HOST=$(docker inspect --format='{{ .NetworkSettings.IPAddress }}' ${DOCKER_ID})
while ! nc -z ${CQL_TEST_HOST} 9042; do
sleep 0.1 # wait for 1/10 of the second before check again
done
# run scylla with CCM
ccm create cqlsh_cluster -n 1 --scylla --version unstable/master:latest
ccm start
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scylla-cqlsh-6.0.1.tar.gz
(670.2 kB
view details)
File details
Details for the file scylla-cqlsh-6.0.1.tar.gz
.
File metadata
- Download URL: scylla-cqlsh-6.0.1.tar.gz
- Upload date:
- Size: 670.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1398f54df8a49ab2459721668111ac0687c42f1a89c2022b92df63d6ae1cea11 |
|
MD5 | 9c41ec620ba7e43bda0abf62af828d76 |
|
BLAKE2b-256 | a855ba3144d6a6007f8ce072f5ee285499e1c252679b6bcc7a71801b55892457 |