Implementation
This handler was implemented using thepydruid
library, the Python API for Apache Druid.
The required arguments to establish a connection are as follows:
host
is the host name or IP address of the Apache Druid database.port
is the port that Apache Druid is running on.path
is the query path.scheme
is the URI schema. This parameter is optional and defaults tohttp
.user
is the username used to authenticate with Apache Druid. This parameter is optional.password
is the password used to authenticate with Apache Druid. This parameter is optional.
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/druid_handler) and run this command:
pip install -r requirements.txt
.