Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or Docker Desktop.
- To connect Vertica to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to Vertica.
Implementation
This handler is implemented usingvertica-python, a Python library that allows you to use Python code to run SQL commands on the Vertica database.
The required arguments to establish a connection are as follows:
- useris the username asscociated with the database.
- passwordis the password to authenticate your access.
- hostis the host name or IP address of the server.
- portis the port through which TCP/IP connection is to be made.
- databaseis the database name to be connected.
- schemais the schema name to get tables from.