Create a Merged Table
Merge two or more tables based on specified matching and merging criteria.
Overview
This procedure generates a merged table by combining data from multiple tables based on user-specified merge criteria. You can designate a master table and a working table and define how rows should be matched (exact or fuzzy match). Additionally, you can configure which columns to include or exclude, how to treat similarly named columns, and whether to sort the columns in the final output.
Syntax
Below is a line-by-line overview of the automation syntax. Expand each line to learn more.
Examples
1. Create a Basic Merged Table
create a merged table with
the tables are the above tables
2. Create a Merged Table with Similar and Excluded Columns
create a merged table with
the tables are the above tables
the excluded columns are "FRIEND", "FOE"
the similar columns are "ALIAS" and "NAME", "MONEY" and "WORTH"
3. Create a Merged Table without Sorting Columns
create a merged table with
the tables are the above tables
the sort columns is "off"
4. Create a Merged Table with Fuzzy and Exact Match Merge
open a master table at "s3://my-bucket/data/master_table.xlsx"
open a working table at "s3://my-bucket/data/working_table.xlsx"
open a blacklist table at "s3://my-bucket/data/blacklist_table.xlsx"
create a merged table with
the master table
the working table
the master fuzzy match columns are "name", "age"
the working fuzzy match columns are "nom de guerre", "life span"
the master exact match columns are "address"
the working exact match columns are "location"
the blacklist table
Last updated
Was this helpful?