Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or use MindsDB Cloud.
- To connect Apache Pinot to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to Apache Pinot.
Implementation
This handler was implemented using thepinotdb library, the Python DB-API and SQLAlchemy dialect for Pinot.
The required arguments to establish a connection are as follows:
hostis the host name or IP address of the Apache Pinot cluster.broker_portis the port that the Broker of the Apache Pinot cluster is running on.controller_portis the port that the Controller of the Apache Pinot cluster is running on.pathis the query path.