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:
host
is the host name or IP address of the Apache Pinot cluster.broker_port
is the port that the Broker of the Apache Pinot cluster is running on.controller_port
is the port that the Controller of the Apache Pinot cluster is running on.path
is the query path.
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/pinot_handler) and run this command:
pip install -r requirements.txt
.