Importing erwin Data Models into Denodo

You can translate the document:

Introduction

This document explains the process of importing models designed in erwin Data Modeler into Denodo using the Import Model option.

Data Modeling is a method of defining and analyzing data requirements needed to support the business functions of an enterprise. Modeling tools are used to design/emphasize physical and logical data models. These models illustrate the specific entities, attributes, and relationships involved in a business function.

This document describes how to transform the data models created in the modeling tool ERwin Data Modeler into Denodo Virtual DataPort Models using the Import Model Feature. This feature automatically creates corresponding Interface views and Associations from the data model entities and relationships.

The Import Model functionality is integrated with the Denodo Platform starting from the Denodo Platform update 8.0u20230914. Previously this functionality was provided through a DenodoConnects component called Denodo Model Bridge, which could be downloaded from the Denodo Support Site.

Creating Models in erwin Data Modeler

Below is an example of one such Logical Data Model created in erwin Data Modeler with relationships defined between the entities. Fact tables namely Sales, Order and Dimensions such as Customer, Employee, and Product have been defined respectively.

 

Exporting the Data Model

  • Once the model is defined completely in erwin Data Modeller, export the data model as a .xml file by navigating to File > Save As.

  • Select the desired location and enter the file name to store the data model file.

  • Select XML Standard (*.xml) as Save As Type.

Importing the Data Model

In the Denodo Web Design Studio, you can import the exported data model using the Import Model feature available under the Tools > Import Model menu.

Now, configure the following parameters:

File with the model: The file that contains the model created with the modeling tool.

Type of model to import: Logical /Physical

  • Logical: Logical data models are used to visualize data entities, attributes, keys, and relationships
  • Physical: Physical data models are used to visualize the physical structure of databases and data files

Target Database: The Denodo Virtual DataPort database where the creation of the elements is going to be performed.

Target folder: The target folder where the elements will be created.

Note : This model supports the usage of both physical and logical models. While the physical model represents the actual data sources and their structures, the logical model abstracts and organizes data for business use. In this KB article, we will focus on the logical model, demonstrating how it can be leveraged for integration and analysis

Analyzing the Model

Click on the Analyze Model option to parse the entities, attributes and relationships and also to see information about them through the Import Model option. Entities are created as Interfaces and all the relationships are created as Associations

Below image depicts the entities and relationships parsed from the uploaded model.

The detailed description of the columns in the generated Model table is given below:

  • Type of Model: The modeling tool used to create the model.
  • Status: Status of the element with respect to the Virtual DataPort server: New, Updated, or In sync.
  • Name: Name of the element
  • Last modified: Date of the last modification in Virtual DataPort only if the element already exists in the Virtual DataPort server.
  • Inspect: Option to see the element details. Details include the below:
  •  VQL needed to create the element in Virtual DataPort.
  • Type of the element being inspected. If it is an interface, a list of the associations of that interface will be shown. If the element is an association, it shows the relationship between the selected element and the other element and the multiplicity.
  • The changes between the element in the analyzed file and the one in Virtual DataPort will be displayed. Possible values are: Added, Updated or Deleted.

Below image represents the inspection of an example element employee:

Updating the Model in the server

It is possible to select the desired elements using the element check boxes of the table or via the interfaces/association check boxes.

Clicking on the Update server option will update the selected elements:

  • If the element is new, it creates the element.

  • If it exists, it modifies the element according to the new definition.

  • Select the Create Dummy Interface Implementation option if you need to create dummy implementations for your interface view and click Run Update

  • On successful execution, VQL commands will be executed in the Virtual DataPort Server to create interface views and associations.

The following image shows the interfaces and associations created by the Model in the importedModel folder.

Creating dummy interface implementations

The update process allows creating dummy interface implementations which helps business developers to perform actions like reporting in parallel. In addition to the created interface view, this option will also create a dummy implementation of that view. So, this makes the interface views executable with a single row of null values without even configuring an implementation.

Below image denotes the dummy implementation model being created and the following image shows the single row of null values retrieved when executing the view with dummy implementations.

References

Virtual DataPort Administration Guide: Import Model

Denodo Model Bridge - User Manual

Disclaimer

The information provided in the Denodo Knowledge Base is intended to assist our users in advanced uses of Denodo. Please note that the results from the application of processes and configurations detailed in these documents may vary depending on your specific environment. Use them at your own discretion.

For an official guide of supported features, please refer to the User Manuals. For questions on critical systems or complex environments we recommend you to contact your Denodo Customer Success Manager.
Recommendation

Recommended resources Recommendations generated by AI

Importing fixed width files

Importing Informatica Cloud Data Governance and Catalog tags in Denodo Virtual DataPort

How to connect to Denodo from MatLab

Relationship tab in the Data Catalog

Solution Journey: Unified Semantic Layer for Data Democratization

Questions

Ask a question

You must sign in to ask a question. If you do not have an account, you can register here