You can compare two versions of a source-controlled asset to find out what's changed
between the versions. You might want to do a comparison to troubleshoot an issue or share
code changes for peer code reviews.
You can compare versions of
the following types of
Data Integration
assets:
Mappings (including mappings
in advanced mode and mappings in SQL ELT mode)
Mapplets
Mapping tasks
Data transfer tasks
Dynamic mapping tasks
Replication tasks
Synchronization tasks
Linear taskflows
Fixed-width formats
Saved queries
Shared sequences
User-defined functions
You can compare the current version of an asset that hasn't been committed to the repository
yet to a version in the repository, or compare two versions that were committed to
the repository.
The
Compare Asset Versions
page displays the selected versions in text
format with highlights that indicate the differences as shown in the following
image:
Git doesn't retain the commit hash history for assets that you rename or move. Consequently,
you can't compare a renamed or moved asset to a version of the asset that uses its
old name or location.
If the result of the asset
comparison includes 10,000 lines or more, an error message appears. To compare
large assets, use the Git compare feature within the Git repository.
On the
Explore
page, navigate to the asset that you want
to compare.
In the row that contains the asset, click
Actions
and
then click
Compare Asset Version
.
To compare the current version to a version that's been committed to the
repository, select
Compare the current asset version and a previous
asset version
, and then select the previous asset version that
you want to use.
To compare two previous versions, select
Compare two previous asset
versions
, and then select the two versions that you want to
compare.