Skip to content

Overview Technical Staging Model

In this section we explain what a technical model is and why you need it. You will also find an overview of the steps you need to follow to create a technical model.

What is a technical staging model?

The technical staging model specifies how a delivery of a specific data source will be processed in the Technical Staging Layer (TSL). The TSL creates a common starting point for further processing of the data and a technical staging model acts as a means to create a standard technical interface for a single external data source.

A technical staging model is composed of entities and attributes, which are created according to the structure of how data is delivered. In the current release, data must be delivered in a tabular format (rows and columns). Nested data and other complex data structures are not accepted. The file type is not important, i.e, it can be a text file or a spreadsheet, as long as the data is tabular.

In a technical staging model, you can specify how raw data should be transformed to better fit the business requirements. These transformations could also be executed in the logical validation layer, but doing this in the technical layer facilitates the creation of mappings between the logical validation model and the technical staging model.

It is important to understand that the customer is responsible for creating (and executing) the ETL process that loads the data into the TSL. The i-refactory has no knowledge of the actual source data (csv, XML, JSON, other database, etc.) or how this data is loaded into the TSL - it must only be informed of the status of this "external ETL process". The process must start by requesting a delivery to i-refactory, and as soon as the data load in the TSL is completed it must inform the i-refactory of the status of the data load.

Info

Before i-refactory starts to process a data delivery, the following steps should be taken:

Step 1

The source data (in a tabular format) is pushed by an external party to i-refactory. If necessary, external parties' data must first be transformed to a tabular format.

Step 2

Tables in the technical staging layer of that specific data supplier hold the latest delivery data. For each new delivery, the corresponding tables require to be emptied first as part of your loading actions.

Step 3

The loading process must be done by the customers themselves or with the help from an i-refact consultant. Interaction with i-refactory is supported through APIs.

As an external partner is responsible for loading data in the i-refactory, it is possible that the delivered data has poor quality. Poor data quality issues may impact on the quality of the data produced by i-refactory and may lead to errors during data processing. You can use filters or data transformations in the TSL to deal with data quality issues.

Tip

When a certain fact can change over time and you need to capture when that fact is valid in the real world, you can add a valid start date and a valid end date to the entity. This allows the creation of a valid timeline.

The valid dates should be provided in an ISO 8601 date format (YYYY-MM-DD) and preferably in a date or datetime2(7) datatype format. And the valid timeline should be provided in a Closed Open interval, otherwise this will lead to an error in the Central Facts Layer due to overlapping timelines.

If date values are provided without following these instructions then you need to filter or fix the data in the TSL to avoid errors during the further stages of data processing.

How to create a technical staging model ?

There are few steps that you can follow to create a technical staging model. It is important to keep im mind that the structure (entities) of a technical staging model depends on the structure (tables) of how data will be delivered by the external party.

What's next?

After you've created and checked the technical staging model: