Skip to main content

auto_merging_previews

Creates, updates, deletes, gets or lists an auto_merging_previews resource.

Overview

Nameauto_merging_previews
TypeResource
Idaws.customer_profiles.auto_merging_previews

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
domain_namestringThe unique name of the domain. (pattern: <code>^[a-zA-Z0-9_-]+$</code>)
number_of_matches_in_sampleinteger (int64)The number of match groups in the domain that have been reviewed in this preview dry run.
number_of_profiles_in_sampleinteger (int64)The number of profiles found in this preview dry run.
number_of_profiles_will_be_mergedinteger (int64)The number of profiles that would be merged if this wasn't a preview dry run.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_auto_merging_previewselectdomain_name, regionTests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly selects a sample of matching groups from the existing matching results, and applies the automerging settings that you provided. You can then view the number of profiles in the sample, the number of matches, and the number of profiles identified to be merged. This enables you to evaluate the accuracy of the attributes in your matching list. You can't view which profiles are matched and would be merged. We strongly recommend you use this API to do a dry run of the automerging process before running the Identity Resolution Job. Include at least two matching attributes. If your matching list includes too few attributes (such as only FirstName or only LastName), there may be a large number of matches. This increases the chances of erroneous merges.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domain_namestringThe unique name of the domain.
regionstringAWS region (default: us-east-1)

SELECT examples

Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly selects a sample of matching groups from the existing matching results, and applies the automerging settings that you provided. You can then view the number of profiles in the sample, the number of matches, and the number of profiles identified to be merged. This enables you to evaluate the accuracy of the attributes in your matching list. You can't view which profiles are matched and would be merged. We strongly recommend you use this API to do a dry run of the automerging process before running the Identity Resolution Job. Include at least two matching attributes. If your matching list includes too few attributes (such as only FirstName or only LastName), there may be a large number of matches. This increases the chances of erroneous merges.

SELECT
domain_name,
number_of_matches_in_sample,
number_of_profiles_in_sample,
number_of_profiles_will_be_merged
FROM aws.customer_profiles.auto_merging_previews
WHERE domain_name = '{{ domain_name }}' -- required
AND region = '{{ region }}' -- required
;