PowerExchange for Vertica User Guide for PowerCenter

PowerExchange for Vertica User Guide for PowerCenter

Vertica Mapping Example

Vertica Mapping Example

Your organization sells electronic products through multiple websites and warehouses. You want to determine the sales details for a particular warehouse and write the sales information to a Vertica database.
The following image shows the Vertica mapping example:
The Vertica mapping example shows three flat file sources, a Filter transformation, two Joiner transformations, and a Vertica target.
The Vertica mapping contains the following objects:
Sources
The mapping contains the following flat file sources:
  • web_site
    . Contains details of the websites through which customers can place orders for products.
  • web_sales
    . Contains details of the sales done through websites and warehouses.
  • warehouse
    . Contains details of the warehouses from where the products are shipped.
Transformations
The
Fil
filter transformation filters the sales details for a particular warehouse.
The
join_webSite
Joiner transformation joins the sales details with the website details. The sales record contains the website key. The transformation uses the website key to retrieve website details from the
web_site
source.
The
Join_Warehouse
Joiner transformation joins the output of the
join_webSite
Joiner transformation with the warehouse details.
Target
The target named
Web_sales
is a Vertica database. Specify the columns in the Vertica table to which you want to write the data.
When you run the mapping, the PowerCenter Integration Service writes the sales information of the specified warehouse to the Vertica target database. You can then run queries on the Vertica target database to analyze the data.

0 COMMENTS

We’d like to hear from you!