Skip to content

Right Join

Create Right Join in Pipeline.

Introduction

The right join in a pipeline on AIV enables users to combine data from multiple tables, beginning with selecting data from the right table and matching it with rows from the left table. The right join returns a result set that includes all rows from the right table, regardless of whether they have matching rows from the left table. This document will provide guidance on how to create a pipeline that utilizes the right join to connect multiple tables and create the pipeline dataset.

Prerequisites

The prerequisites for setting up an inner join pipeline typically include :

  1. Access to the AIV application with appropriate permissions.

  2. Availability of datasets or tables to be joined.

  3. Understanding of the common field or column on which the join operation will be performed.

  4. Knowledge of the right join concept and its application in combining data from multiple sources.

  5. Familiarity with the AIV interface for creating and configuring pipelines.

  6. Working parameter datasets, particularly if dynamic filtering or conditions are involved.

  7. Clear understanding of the desired output and how the joined data will be utilized downstream.

These prerequisites ensure a smooth setup and execution of the inner join pipeline within the AIV environment.

Objective

Follow steps to create Inner-Join Pipeline in AIV :

  1. Download Pipeline.zip File: Access the link provided to download the Pipeline.zip file to your local system. Download Pipeline.zip file from the link given. Pipeline.zip

  2. Extract the ZIP File : Once the download is complete, extract the contents of the Pipeline.zip file to a folder on your computer.

  3. Access AIV Platform : Log in to the AIV platform using your credentials.

Image

Navigate to the Dataset section and click on “Create Pipeline” located in the bottom menu bar, as illustrated in the figure below.

Image

After clicking, you will see a blank window for creating a pipeline, as depicted in the image below.

Image

Enter the Following detail in the Pipeline dialog box:

Name: right join brij

Source: Test-datasetmapping-datasource-users_roleTest-datasetmapping-datasource-users_role (select as per your requirement)

Expand tables from the left side table view, As shown in the figure below.

Image

Drag and drop the “offices” from the list of tables,datasets to the diagram box on the right side, then select all the columns of the “offices”, as shown in the figure below.

Image

After clicking the submit button, the diagram box will resemble the figure below.

Image

Drag and drop the customers from the left table menu to the right diagram box.

Image

Select all the columns from the Customers table, and click submit button.

Image

After adding offices and customers from the table and datasets list, Drag the country column from offices to customers, as shown in the figure below.

Image

Click on the join between the two tables to add Pipeline configuration.

The Pipeline configuration control box will open. Select the Inner Join radio button and click on the Submit button, as shown in the figure below.

Image

Click on Submit button. The Connection between the two tables will look as shown in the figure below.

Image

Click on Submit to save the Pipeline.your pipeline dataset should be visible on dataset section of Aiv.

Image

Go to Documents > Adhoc Analysis section from the Hamburger menu. In Adhoc Analysis, click on the + icon to create a new Analysis, as shown in the figure below.

Image

When you click on create Analysis then the Analysis Selection dialog box will open, as shown in the figure below.

Image

Enter the following details in Analysis Section.

Dataset: right join brij.ds (select the Pipeline, which you are created)

The two tables will get load the left side box of Pipeline view, Now expends the OFFICES table.

Drag and drop a territory column from OFFICES to Rows, Drag and drop the country column from OFFICE and put it in the Column box, and drag and drop the postalcode column from Customers to Values box (Select count in Type), as shown in the figure below.

Image

Click on Preview Button it will show the output and after the preview click on Cancel Button it will show the screen as follows :

Image

Click on Save as icon for saving the Analysis, it will show the screen as below.Give the name of Analysis.

Image

Image