Framework Components Our ETL parameter framework will include primarily two components.

Similar documents
UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

INSTALLING CCRQINVOICE

Integrating QuickBooks with TimePro

Demand Forecasting. For. Microsoft Dynamics 365 for Operations. Technical Guide. Release 7.1. December 2017

$ARCSIGHT_HOME/current/user/agent/map. The files are named in sequential order such as:

Admin Report Kit for Exchange Server

Knowledgeware Rule-based Clash

FTP Imports Playbook. Version 0.91

Using CppSim to Generate Neural Network Modules in Simulink using the simulink_neural_net_gen command

MySqlWorkbench Tutorial: Creating Related Database Tables

Date: October User guide. Integration through ONVIF driver. Partner Self-test. Prepared By: Devices & Integrations Team, Milestone Systems

CSC IT practix Recommendations

Implementing a SQL Data Warehouse

BMC Remedyforce Integration with Bomgar Remote Support

BMC Remedyforce Integration with Remote Support

Getting Started with the SDAccel Environment on Nimbix Cloud

VMware AirWatch SDK Plugin for Apache Cordova Instructions Add AirWatch Functionality to Enterprise Applicataions with SDK Plugins

Project #1 - Fraction Calculator

UPGRADING TO DISCOVERY 2005

Cisco Tetration Analytics, Release , Release Notes

DELL EMC VxRAIL vcenter SERVER PLANNING GUIDE

Oracle Universal Records Management Oracle Universal Records Manager Adapter for Documentum Installation Guide

Please contact technical support if you have questions about the directory that your organization uses for user management.

Licensing the Core Client Access License (CAL) Suite and Enterprise CAL Suite

ROCK-POND REPORTING 2.1

Assignment 10: Transaction Simulation & Crash Recovery

Web of Science Institutional authored and cited papers

Enterprise Installation

Exosoft Backup Manager

Gemini Intercom Quick Start Guide

Implementing a Data Warehouse with Microsoft SQL Server

Municode Website Instructions

Shipping Deadline Countdown

Oracle FLEXCUBE Universal Banking Development Workbench- Screen Development II

Using the Swiftpage Connect List Manager

AvePoint Timeline Enterprise for Microsoft Dynamics CRM

Extended Vendors lets you: Maintain vendors across multiple Sage 300 companies using the Copy Vendors functionality. o

How to Guide. DocAve Extender for MOSS 2007 and SPS Installing DocAve Extender and Configuring a Basic SharePoint to Cloud Extension

Oracle Database 11g Replay: The In-built Recorder for Real Application Testing

Using the DOCUMENT Procedure to Expand the Output Flexibility of the Output Delivery System with Very Little Programming Effort

Refreshing Axiom TEST with a Current Copy of Production Axiom EPM June 20, 2014

User Guide. Document Version: 1.0. Solution Version:

Querying Data with Transact SQL

Rapid Implementation Package

Configuring Database & SQL Query Monitoring With Sentry-go Quick & Plus! monitors

Upgrade Guide. Medtech Evolution General Practice. Version 1.9 Build (March 2018)

Stealing passwords via browser refresh

TRAINING GUIDE. Lucity Mobile

from DDS on Mac Workstations

Upgrading Kaltura MediaSpace TM Enterprise 1.0 to Kaltura MediaSpace TM Enterprise 2.0

Infrastructure Series

TRAINING GUIDE. Overview of Lucity Spatial

Paraben s Phone Recovery Stick

McGill University School of Computer Science COMP-206. Software Systems. Due: September 29, 2008 on WEB CT at 23:55.

Systems & Operating Systems

User Guide. ACE Data Source. OnCommand Workflow Automation (WFA) Abstract PROFESSIONAL SERVICES

Once the Address Verification process is activated, the process can be accessed by employees in one of two ways:

Secure File Transfer Protocol (SFTP) Interface for Data Intake User Guide

Maintenance Release Notes Release Version: 9.5.5

STUDIO DESIGNER. Design Projects Basic Participant

I - EDocman Installation EDocman component EDocman Categories module EDocman Documents Module...2

Campuses that access the SFS nvision Windows-based client need to allow outbound traffic to:

LAB 7 (June 29/July 4) Structures, Stream I/O, Self-referential structures (Linked list) in C

Apply IU Admin Center

File Share Navigator Online

AvePoint Discovery Tool 3.5. User Guide

Summary. Server environment: Subversion 1.4.6

Installing AX Server with PostgreSQL

Using the Swiftpage Connect List Manager

Adverse Action Letters

SAS Viya 3.2 Administration: Mobile Devices

Using SPLAY Tree s for state-full packet classification

Advanced Title Search 8.2.0

The screenshots/advice are based on upgrading Controller 10.1 RTM to 10.1 IF6 on Win2003

Transferring dongle licenses online

Xilinx Answer Xilinx PCI Express DMA Drivers and Software Guide

Release Description. PicShare. Team 02. Team Members

AvePoint Pipeline Pro 2.0 for Microsoft Dynamics CRM

IFSP PDF Upload/Download Guidance

InformationNOW Elementary Scheduling

DUO LINK 4 APP User Manual V- A PNY Technologies, Inc. 1. PNY Technologies, Inc. 34.

SmartPass User Guide Page 1 of 50

Due Date: Lab report is due on Mar 6 (PRA 01) or Mar 7 (PRA 02)

ClassFlow Administrator User Guide

INFocus Students With No SSID Report

Properties detailed info There are a few properties in Make Barcode to set for the output of your choice.

CORE 7 to 8 Data Migration Guide

Migrating iway Data Quality Server Plans and Components on Windows

The QMF Family V Newsletter 3rd Quarter 2013 Edition

Dear Milestone Customer,

How to effectively log your data

LiveEngage and Microsoft Dynamics Integration Guide Document Version: 1.0 September 2017

FollowMe. FollowMe. Q-Server Quick Integration Guide. Revision: 5.4 Date: 11 th June Page 1 of 26

Upgrade Guide. Medtech Evolution Specialist. Version 1.11 Build (October 2018)

Ascii Art Capstone project in C

Development Workbench- Screen Development II Oracle FLEXCUBE Universal Banking Release

Interfacing to MATLAB. You can download the interface developed in this tutorial. It exists as a collection of 3 MATLAB files.

3. If co-mingled materials are sorted at a MRF

Dynamic Storage (ECS)

Transcription:

An ETL Parameter Framewrk t Deal with all srts f Parametrizatin Needs We spke abut different etl framewrks in ur prir articles. Here in this article let's talk abut an ETL framewrk t deal with parameters we nrmally use in different ETL jbs and different use cases. Using parameterizatin in the ETL cde increases cde reusability, cde maintainability and is critical t the quality f the cde and reduces the develpment cycle time. Framewrk Cmpnents Our ETL parameter framewrk will include primarily tw cmpnents. 1. A Relatinal Table: - T stre the parameter details and parameter values. 2. Reusable Mapplet: - Mapplet t lg the parameter details and values int the relatinal table. 1. Relatinal Table A relatin table will be used t stre the parameter details with the belw structure. This will stre the parameter name, value and the ther infrmatin relevant t identify the cntext f the parameter, like flder name, wrkflw name and sessin name. ETL_PARM_ID: A unique sequence number. FOLDER_NAME: Flder name, in which the parameter is used. WRKFLW_NAME: Wrkflw name, in which the parameter is used. SESSN_NAME: Sessin name, in which the parameter is used. PARM_NAME: Name f the parameter PARM_VAL: Value f the parameter. ETL_CRT_DATE: Recrd creates timestamp. ETL_UPD_DATE: Recrd update timestamp. Nte: Yu can add the repsitry name t the table, if the framewrk is planned t use fr wrkflws running in multiple repsitries. Nte: All parameters shuld be stred int the parameter table with its initial value t start with. 2. Reusable Mapplet An mapplet t capture and lad the parameter values int the database table. This mapplet takes tw input values and gives all the data elements required in the parameter table mentined abve.

Mapplet Input: Parameter name, parameter value. Mapplet Output: All the data elements required t be stred in the parameter table mentined abve. This utput can be cnnected t the target table t stre the infrmatin in the relatinal table. Framewrk Implementatin in a Wrkflw This framewrk can be implemented fr bth dynamically changing parameters as well as rarely changing r static parameters. Dynamically Changing Parameters Typical example f dynamically changing parameter is "ETL Run Timestamp" which is used fr incremental data extractin lgic. Lets see hw incremental data extractin is implemented using this parameter framewrk. Create a mapping variable with MAX aggregatin. This variable will hld the parameter value. Nte : Reset the mapping variable in the wrkflw using the pre-sessin variable assignment. Set the mapping variable using the SETVARIABLE functin in an expressin as shwn in belw image. This will update the mapping variable t the greatest ETL_UPD_DATE value, which will finally be stred int the parameter table using the mapplet.

Adjust the surce filter t pull incremental data. Incremental data is pulled frm the surce based n ETL_UPD_DATE as shwn in belw image. The abve mapping cnfiguratin will make sure the crrect parameter is used and will set the crrect parameter value, which is t be stred int the parameter table. Add an additinal mapping pipeline as shwn in belw image t stre the parameter value in the parameter table. This pipeline will update the current value in the parameter table t the latest value. The mapplet used will make sure the crrect parameter and parameter value is updated in the parameter table.

Nte : Set the target lad rder f the new pipeline t the last ne in the mapping. Surce qualifier f this pipeline will generate ne recrd using "select 'x' frm dual" SQL. Belw shwn is the cmplete mapping design. Static r Rarely Changing Parameters Parameters, which might need ccasinal changes r static parameter can be stred in the parameter table and can be retrieved in the Infrmatica mapping using a LkUp transfrmatin. Any changes require fr the parameter value shuld be ne time updated dne utside f the ETL prcess. Belw shwn is the lkup transfrmatin, which can be used t retrieve parameter value. Yu just need t pass in the input parameters t the lkup and get the parameter value frm the parameter table.

Nte: The static parameter value shuld already be saved in the parameter table with its static value, befre it can be used in a mapping. Hw Parameter Data is Stred in the Parameter table As discussed, the parameter framewrk supprt bth static and dynamic parameters. Let's cnsider a sample data fr the explanatin. ETL_PARM_ID FOLDER_NAME WRKFLW_NAME SESSN_NAME PARM_NAME PARM_VAL 1 ALL ALL ALL YR_BEGIN 2014 2 DW_SALES ALL ALL REGION_NAME USA 3 DW_SALES wf_load_cust_dim s_load_cust_dim LST_RUN_TS 01-JAN- 10-OCT- 2014 Parameter IDs 1 and 2 are static parameters. First parameter is defined t use acrss all flders, wrkflw and sessins. Secnd parameter is still a static ne, but specific t all wrkflws and sessins in the flder DW_SALES. Third parameter is a dynamic parameter specific t the sessin s_load_cust_dim, which is running in DW_SALES flder.

Better than Infrmatica Parameters and Variables Since the parameter framewrk stres the values utside Infrmatica envirnment, yu get much mre flexibility with it. Prevents any accidentally parameter value changes, which might happen t mapping variables during cde migratin. Centralized strage fr all parameter values rather than the string it in different parameter files r mapping variables. Easy t update r change the parameter value, unlike it is with mapping variables. When using it with incremental data extractin lgic, it is t update the parameter value t reprcess same data set and enable restartability. Dynamic changing parameters can be handled in the framewrk. Mapping variables can have nly MAX r MIN peratins t handle dynamically changing parameters. Parameter framewrk can handle bth static and dynamic parameters. Mre secure than string the parameters in a parameter file.