Databases
Databend
This is the implementation of the Databend data handler for MindsDB.
Databend is a modern cloud data warehouse that empowers your object storage for real-time analytics.
Prerequisites
Before proceeding, ensure the following prerequisites are met:
- Install MindsDB locally via Docker or Docker Desktop.
- To connect Databend to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to Databend.
Implementation
This handler is implemented by extending the ClickHouse handler.
The required arguments to establish a connection are as follows:
protocol
is the protocol to query Databend. Supported values includenative
,http
,https
. It defaults tonative
if not provided.host
is the host name or IP address of the Databend warehouse.port
is the TCP/IP port of the Databend warehouse.user
is the username used to authenticate with the Databend warehouse.password
is the password to authenticate the user with the Databend warehouse.database
is the database name to use when connecting with the Databend warehouse.
Usage
In order to make use of this handler and connect to the Databend database in MindsDB, the following syntax can be used:
You can use this established connection to query your table as follows:
Was this page helpful?