Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or use MindsDB Cloud.
- To connect Apache Impala to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to Apache Impala.
Implementation
This handler is implemented usingimpyla
, a Python library that allows you to use Python code to run SQL commands on Impala.
The required arguments to establish a connection are:
user
is the username associated with the database.password
is the password to authenticate your access.host
is the server IP address or hostname.port
is the port through which TCP/IP connection is to be made.database
is the database name to be connected.