This is the implementation of the Druid data handler for MindsDB. Apache Druid is a real-time analytics database designed for fast slice-and-dice analytics (OLAP queries) on large data sets. Most often, Druid powers use cases where real-time ingestion, fast query performance, and high uptime are important.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 Apache Druid to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to Apache Druid.
Implementation
This handler was implemented using thepydruid library, the Python API for Apache Druid.
The required arguments to establish a connection are as follows:
hostis the host name or IP address of the Apache Druid database.portis the port that Apache Druid is running on.pathis the query path.schemeis the URI schema. This parameter is optional and defaults tohttp.useris the username used to authenticate with Apache Druid. This parameter is optional.passwordis the password used to authenticate with Apache Druid. This parameter is optional.