This is the implementation of the CrateDB data handler for MindsDB. CrateDB is a distributed SQL database management system that integrates a fully searchable document-oriented data store. It is open-source, written in Java, based on a shared-nothing architecture, and designed for high scalability. CrateDB includes components from Lucene, Elasticsearch and Netty.Documentation Index
Fetch the complete documentation index at: https://docs.mindsdb.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or Docker Desktop.
- To connect CrateDB to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to CrateDB.
Implementation
This handler is implemented usingcrate, a Python library that allows you to use Python code to run SQL commands on CrateDB.
The required arguments to establish a connection are as follows:
useris the username associated with the database.passwordis the password to authenticate your access.hostis the hostname or IP adress of the server.portis the port through which connection is to be made.schema_nameis schema name to get tables from. Defaults todoc.