Author Topic: How to Model ETL (Extract Transform Load) mapping  (Read 8291 times)

frenchtoast

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
How to Model ETL (Extract Transform Load) mapping
« on: September 09, 2008, 05:31:18 am »
Hello all

I am asked to create a UML model that has the following:

1. Staging Tables & attributes
2. ODS Tables & attributes & relationships
3. Data Mart Tables & attributes & relationships
4. Data mapping and transformation rules between Staging tables/attributes to ODS tables/attributes.
5. Data mapping and transformation rules between ODS tables/attributes to Data Mart tables/attributes.

I have created 1 to 3 using the Data Modeling provided by EA. I am not sure how to model items 4 and 5.

Your input or ideas would be appreciated, Thanks

salayande

  • EA User
  • **
  • Posts: 224
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: How to Model ETL (Extract Transform Load) mapp
« Reply #1 on: September 10, 2008, 03:57:54 am »
Hi ,

Create association classes between the source and target and name this class source_target_transform. Identify the input_attributes and output_attributes. The methods or operations are the transformation code.

Segun

frenchtoast

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: How to Model ETL (Extract Transform Load) mapp
« Reply #2 on: September 11, 2008, 01:07:18 am »
Quote
Hi ,

Create association classes between the source and target and name this class source_target_transform. Identify the input_attributes and output_attributes. The methods or operations are the transformation code.

Segun

Good idea. How do I identify the input and output attrubutes? I tried in the Details/Attributes form but I need to retype all the attributes. I cannot link them.

What I am trying to do is to is
1. Link Source Table colums --> transformation process --> Target Table columns.
2. document the transformation rules in the transformation process
3. With the table columns linked (not typed in) I get an impact analysis tool that helps me assess the impact when a source column changes.

salayande

  • EA User
  • **
  • Posts: 224
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: How to Model ETL (Extract Transform Load) mapp
« Reply #3 on: September 11, 2008, 04:31:12 am »
Hi,

The lowest level element that you can associate is the class. EA will not allow you to associate individual attributes.

An alternative is to model each attribute using a class and stereotype as Source_Attribute and Target_Attribute. You may then associate these using the matrix facility.

Please, kindly raise a feature request to Sparx. There is an OMG standard  UML Profile, the Common Warehouse Metadata (CWM) which Sparx may implement as an extension to the current data modelling facility.

Segun

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How to Model ETL (Extract Transform Load) mapp
« Reply #4 on: September 11, 2008, 07:56:45 am »
You could always import the CWM metamodel at OMG. Since around EA 6.5 that's been possible.

In the meantime take a look at composite structure diagrams as defined in UML 2.x. You can represent features - in this case structural features, including attributes - as 'first class' entities in these models. It is then possible to link these to other classifiers.

It isn't necessarily pretty, and involves some work, but that's what automation is for. BTW, that's the general approach the CWM practitioners' guide takes as well.

David
No, you can't have it!

salayande

  • EA User
  • **
  • Posts: 224
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: How to Model ETL (Extract Transform Load) mapp
« Reply #5 on: September 12, 2008, 04:29:44 am »
Thank you for the contribution, David. I was getting out of my depth, here.

regards

Segun