This topic describes how to connect Dataiku to Hologres. After Dataiku is connected to Hologres, you can analyze data in Hologres in a visualized manner.
Limits
Dataiku allows you to directly use SQL Notebook rather than import tables to datasets to query foreign tables.
Procedure
Install Dataiku.
Install Dataiku. For more information, see Dataiku official documentation.
Connect to Hologres.
Log on to Dataiku. Click Blank project and create a project. In this example, a project named Hologres is created.
On the project details page, click IMPORT YOUR FIRST DATASET to go to the Datasets tab.
On the Datasets tab, select PostgreSQL from the SQL dataset types. On the Connection tab, click create a new connection.
Click NEW CONNECTION in the upper part of the Connections tab, select PostgreSQL from the drop-down list, and then create a connection.
Configure the parameters in the BASIC PARAMS section as required. You can also configure the schema-related parameters if necessary.
The following table describes the parameters.
Parameter
Description
New connection name
The name of the connection to be created.
Host
The public endpoint of the Hologres instance. You can obtain the endpoint of the Hologres instance from the Network Information section of the instance details page in the Hologres console.
Port
The port number of the Hologres instance to which you want to connect. You can obtain the port number of the Hologres instance in the Network Information section of the instance details page in the Hologres console.
Database
The name of the Hologres database.
User
The AccessKey ID of the Alibaba Cloud account used to connect to the Hologres database. For more information about how to obtain the AccessKey ID, see Create an Alibaba Cloud account.
Password
The AccessKey secret of the Alibaba Cloud account used to connect to the Hologres database. For more information about how to obtain the AccessKey secret, see Create an Alibaba Cloud account.
Other parameters
For more information about other parameters, see Dataiku official documentation.
After you configured the required parameters, click TEST in the lower part of the page. After a success message appears, click CREATE to create the connection.
Analyze data.
After settings are complete, click Import tables to datasets in the lower part of the page to import table schemas from the database to the dataset at a time. Then, you can analyze data. For more information about the operations of data analytics, see Dataiku official documentation.