Skip to main content

Mapping tables and attributes

Overview

Mapping is the first step in Master Data Management (MDM) for data unification. Once the data import is completed, map the attributes of imported data with their semantic labels. In the mapping process, you need to do the semantic mapping to get the data into the Lakehouse SQL and prepare it for the Unify (match and merge) process.

In Skypoint AI MDM, you need to map data fields from different business systems or databases in order to consolidate the data into a single, consistent repository.

The mapping process consists of the following steps:

  • Table selection: Identify and select those tables for mapping which have complete information about your customers.
  • Attribute selection: Identify and select the most accurate attributes for each table.
  • Primary key and semantic type selection: Identify and select a unique primary key for each table and identify the semantic type for each attribute.
  • Deduplication (optional): Identify the duplicated records and cleanse your data by eliminating redundancy.

Select tables and attributes

  1. In the left pane, go to Resolve > Map.

The Map window appears.

Alt image

  1. Click Select tables.

Alt image

  1. Expand the list to select the different tables and include all required attributes. You can search for keywords across all tables and attributes that you want to map.
note

At least two tables are needed to perform the match process. For each selected table, identify the attributes you want to use to match and include them in the unified profile. You can select the required attributes individually from the table or include all attributes by selecting the checkbox.

  1. Click Apply. The selected tables and attributes are displayed on the Map page.

Select primary key, candidate key, and semantic type for attributes

Follow the below steps to start the Map process:

Alt image

  1. From the drop-down list, select the Primary key that uniquely identifies a record. It should not include duplicate, missing, or null values.
  2. If you want to add a candidate key, select the Select candidate key checkbox.
  3. Select the Candidate key from the drop-down list.
  4. In the Review mapped field, select the semantic type for attributes.
note

The system automatically maps the semantic labels based on its inbuilt algorithms. The system displays all mapped attributes in the table above and all unmapped attributes shown in the table below. For attributes that aren't automatically mapped to a semantic type, are listed under Define the data in the unmapped fields. You can select a semantic mapping for the unmapped attributes to move these to the mapped table or leave them unmapped. Select the attribute that uniquely identifies a record. It should not include duplicate values, missing values, or null values. Data type column display the data type of attribute in the source of data.

  1. To configure various data cleansing techniques like converting all texts to lower/upper case, removing any spaces between strings, select the Advanced settings. Default normalizations are added for the first name, last name, email address, and phone number fields to reduce data redundancy and eliminate undesirable characteristics.

As per the best practice, the normalization is applicable for the below Attributes:

First Name -Text to Pascal,  Left Trim, Right Trim, Regex Replace ([^a-zA-Z ])  
Last Name -Text to Pascal, Left Trim, Right Trim, Regex Replace ([^a-zA-Z ])
Email Address - Text to lower case, Remove WhiteSpace, Left Trim, Right Trim
Phone Number - Left Trim, Right Trim, Regex Replace [^0-9]+
  1. Click on each table and complete the mapping for the several types of required fields.
  2. Click Save.
  3. Once the application displays Saved successfully, click Run to start the mapping process.
note

If you run the map for the first time, the system takes it as a full run. For subsequent runs, you can choose between a Full run or an Incremental run. An incremental run adds the data, which was refreshed after the last run. You can get a faster result after the Incremental run.

  1. To perform the Incremental run, select the date attribute in Last.Modified.Date type.

Alt text

  1. Choose an appropriate option from the drop-down to run the Map process.
  2. If necessary, do the following:
ToDo
Discard all the changes from the last saveClick Discard Changes.
Cancel the Run that is in progressClick Cancel Run.
Add or remove the attributesClick Edit.
Discard advanced settingsClick Clear advanced settings.
See the last 3 map versions and compare with each otherClick Versions
See the run history of the mapping processClick Run history.
tip

Skypoint AI MDM provides an Intelligent mapping feature that automatically determines the associated semantic label for each attribute of a table. Intelligent mapping provides a smart prediction of semantics, saves time, and improves accuracy.

  • To activate, Turn on the Intelligent mapping.

Duplicating the record details

The Deduplication process identifies the duplicated records and cleanses your data by eliminating redundant data. For example, there are 100 individual data records, but 50 out of the 100 records are duplicates. To unify the data, you must remove the duplicates so that only 50 unique records will pass to the next step in the process.

You can set up rules to eliminate duplicate records within the table. Defining your own deduplication rules gives you the flexibility to select the best record to keep.

To identify and resolve the duplicated records

  1. Go to Resolve > Map.

Alt image

  1. In the Duplicated records details section, select Set tables. If deduplication rules are already set then you can click Edit to modify the tables.

Alt image

  1. In the Deduplicate preferences pane, select the Tables.
Deduplicate preference
Description
Column TypeOption to select the column type to figure out the duplicated data.
Record to keepAllows you to identify and select the most populated attribute fields, most recent, and least recent records. You can choose one of three options to determine which record to keep if a duplicate is found.
Most recentIdentifies the record based on the most recency.
Least recentIdentifies the record based on the least recency.
Most filledIdentifies the record with the most populated attribute fields.
Based on field(s)Allows you to select the most populated attribute fields.
  1. Choose the criteria for deduplicate preference from Column Type > Record to Keep > Based on field (s).
  2. Select Done.
  3. Click Save > Run.

Now, you can view the duplicated record details on the Map page.

Alt image

  1. If you want to modify the Deduplicate preferences, click the Edit button and select Done to apply your changes.

You can view the map table in the Silver tab under Lakehouse > Databases.

Alt image