Comparing Jobs - Cloud - 7.3

Talend Studio User Guide

Version
Cloud
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-02-13

Talend Studio provides a Compare Job option that enables you to compare Jobs on the same or different branches in order to list the differences in the items used in the two Jobs. Using this option, you can:

  • compare different versions of the same Job,

  • compare the same Job in different releases of the Studio, in order to see if any modifications were done on the Job in the previous/current release, for example,

  • compare Jobs that have been designed using the same template, but different parameters, to check the differences among these Jobs.

Differences between the compared Jobs are displayed in the Compare Result view. The result detail are grouped under the three categories: Jobsettings, Components and Connectors.

The table below gives the description of the comparison results under each of the above categories.

Category

Description

Jobsettings

lists all differences related to the settings of the compared Job.

Components

lists the differences in the components and component parameter used in the two Jobs. A minus sign appended on top of a component listed in the Compare Result view indicates that this component is missing in the design of one of the two compared Jobs. A plus sign appended on top of a component listed in the view indicates that this component is added in one of the two compared Jobs. All differences in the component parameters will be listed in tables that display under the corresponding component.

Connectors

lists differences in all the links used to connect components in the two Jobs.

The procedure to compare two Jobs or two different versions of the same Job are the same.

To compare two different versions of the same Job, complete the following:

Procedure

  1. In the Repository tree view, right-click the Job version you want to compare with another version of the same Job and then select Compare Job from the contextual menu.
    The Compare Result view displays in the Studio workspace. The selected Job name and version show, by default, in the corresponding fields.
  2. If the other version of the Job with which you want to compare the current version is on another branch, select the branch from the Another Branch list.
  3. Click the three-dot button next to the Another job field to open the Select a Job/Joblet dialog box.
  4. In the Name Filter field, type in the name of the Job or Joblet you want to use for this comparison. The dialog box returns you this Job or Joblet you are searching for.
  5. Select the returned Job or Joblet from the list in the dialog box and click OK.
  6. From the Current version and Another version lists select the Job versions you want to compare.
  7. Click the button to launch the compare operation.
    The two indicated versions of the Job display in the design workspace.
    The differences between the two versions are listed in the Compare Result view

Results

In this example, differences between the two Job versions are related to components and links (connectors). The figure below shows the differences in the components used in the two versions.

For example, there is one difference in the output schemas used in the tMap and tFileOutputXML components: the length of the Revenue column is 15 in the second version of the Job while the length is 11 in the first version of the same Job. The minus sign appended on top of tMysqlOutput indicates that this component is missing in the design of one of the two compared Jobs. The plus sign appended on top of tOracleOutput indicates that this component is added in one of the two compared Jobs.

Note: If you click any of the components listed in the Compare Result view, the component will be automatically selected, and thus identified, in the open Job in the design workspace.

The figure below shows the differences in the links used to link the components in the two versions of the same Job.

In this example, there is one difference related to the reject link used in the two versions: the target of this link in the first version is a tMysqlOutput component, while it is a tOracleOutput component in the second version.

Note: You can export the Job compare results to an html file by clicking Export to html. Then browse to the directory you to want to save the file in and enter a file name. You have the option of using a default CSS template or a customized one. The destination folder will contain the html file, a css file, an xml file and a pictures folder. For related topic, see Exporting the results of impact analysis/data lineage to HTML.