Implementation
As ScyllaDB is API-compatible with Apache Cassandra, the Cassandra data handler extends the ScyllaDB handler and uses thescylla-driver
Python library.
The required arguments to establish a connection are as follows:
host
is the host name or IP address of the Cassandra database.port
is the port to use when connecting.user
is the user to authenticate.password
is the password to authenticate the user.keyspace
is the keyspace to connect, the top level container for tables.protocol_version
is not required and defaults to 4.
If you installed MindsDB locally via pip, you need to install all handler dependencies manually. To do so, go to the handler’s folder (mindsdb/integrations/handlers/cassandra_handler) and run this command:
pip install -r requirements.txt
.