Learn how you can create a federation connector that can be used by a Trino Virtual
Warehouse to query and access data from different data sources.
- You must create a Trino Virtual Warehouse.
- You must register a secret for your Environment.
-
Log in to the Cloudera Data Warehouse service and click
Federation Connectors.
The Federation Connectors page is displayed that
lists all the currently configured connectors.
-
Click Create Data Source to create a new
connector.
-
In the Data Source Type page, select the type of data
source, such as PostreSQL, MySQL, Snowflake, AWSRedshift, or Default template
that you want to configure and then click Next.
-
In the Configuration Details page, enter the following
information:
- Provide a name and description for the connector.
- Select the appropriate environment.
- Enter the appropriate URL to connect to the required data source. For
example,
jdbc:postgresql://example.net:3306/postgres
- Enter the connection username and select a registered secret for the
password.
- Click Test Connection to verify if the
configurations are correct to establish a successful connection to the
data source.
A message is displayed indicating if the connection is
successful or not. If the connection fails, modify the configuration
details and try again.
-
If the connection is successful, click Next to proceed
to the Review And Connect page.
This page provides a summary of the connector and its configuration.
-
Click Connect To Datasource to establish a connection to
the data source
The connector is created successfully and is listed in the
Federation Connectors page.