Multi source database driver
Team Edition supports cross-database queries through Multi Source Database. Use one SQL Editor to query and join tables from multiple JDBC database connections. The multi-source connection provides access to the selected source data through a virtual database.
Important
Multi Source Database is read-only.
Multi Source database specialty¶
Multi Source Database is based on Apache Calcite, which provides a virtual SQL layer over existing JDBC connections. In Team Edition, this layer acts as a multi-source connection to the schemas and tables you select.
The driver works with any JDBC data source configured in Team Edition. Use it to run read-only cross-database joins and analytical queries across different database systems. For example, one query can join a PostgreSQL table with a MySQL table.
Multi Source Database is read-only. You can query and join data from source connections, but you can't change source data or database objects through this connection.
Info
For information about the underlying query engine, see the Apache Calcite documentation.
Setting up¶
Set up each source connection before you create a Multi Source Database connection. A source connection is a regular database connection in Team Edition that provides data for Multi Source Database. Select an existing connection from Connections, or create and configure a new one. The multi-source connection reuses its settings and credentials.
- Click Connection in the toolbar, select New Connection, then select the driver for your source, such as PostgreSQL. For details, see Creating a connection. Create and test each source connection.
-
Create a Multi Source Database connection and open its connection settings.

-
On the Main tab, add the existing source connections you need from the dropdown, or drag them from Connections to the configuration tree. You can remove any added source from the multi-source configuration.

Info
You can add only source connections from the same project as the multi-source connection.
-
Expand each source in the configuration tree. Use the checkboxes to select the schemas and tables you need from the source catalogs.
Note
By default, a selected schema includes all its tables. If you select individual tables, the configuration includes only those tables from that schema. Add any other tables to the selection when you want to query them.
-
To change the Apache Calcite settings, open the Driver properties tab.
- Select Create to save the Multi Source Database connection.
Access¶
The Access tab contains access permission settings.

Info
For information on managing access, see Manage access permissions.
AI¶
Use the AI tab to control whether the connection can transfer information to the AI vendor.

Info
For information on enabling this option, see AI Assistant setup.
Driver properties¶
Open the Driver properties tab to configure Multi Source Database. The following property is available:
| Property | Default | Description |
|---|---|---|
join.transitive.predicates |
true |
Infer filtering conditions from joins and push them to the source connections when possible |
Connection details and initialization settings¶
Use the Connection details tab to set the connection name, project, description, and connection type. For information on these fields, see Configure connection settings.
Use the Initialization settings tab to configure connection initialization and behavior, such as the keep-alive interval and auto-commit settings. For information on these two settings, see Expert settings.
Powering Multi Source Database with Team Edition¶
Use one SQL editor to query data from the selected source connections. Apache Calcite plans the query and sends applicable operations to the underlying connections.
Queries in a Multi Source Database connection follow Apache Calcite syntax. Source-specific SQL features might not be available in a cross-database query.
Example
The following query joins customer data from SQLite with booking details from PostgreSQL:
Multi Source Database objects¶
Team Edition lets you browse the selected source objects in Connections:
- Schemas
- Tables
- Columns
- Views
- Procedures
- Data Types
- Tables
Note
The connection doesn't expose indexes, table constraints, or references. Relationship-based tools don't have relationship metadata for Multi Source Database objects.
Multi Source Database features¶
Team Edition provides the following features compatible with Multi Source Database connections, but not exclusive to it:
| Category | Feature |
|---|---|
| Data browsing | View selected source tables in the Data Editor |
| SQL queries | Query selected tables and join data across sources in the SQL Editor |