Overview
On this page
Data modeling in DJ can be done in several ways:
- Using the UI
- Using the API
- Any supported clients
- Using YAML files
Data Modeling Stages
The typical flow for onboarding data models looks like this:
- Create appropriate namespaces for organization.
- Register tables as source nodes in DJ.
- Create transform nodes if any additional, light-weight SQL transformations are necessary.
- Create dimension nodes, depending on what dimensions are needed. These may be simple references to existing source nodes, if the dimensional modeling has already been done outside of DJ.
- Link dimensions into your source, transform, or dimension nodes to build out DJ’s dimensional graph.
- Create metric nodes, which are aggregate expressions on one or more fields from a source, transform, or dimension node.
- Create cube nodes for bundling commonly used metrics and dimensions together (often used to facilitate materialization for quick access, like when powering analytical dashboards).
We’ll walk through this in more detail in the Data Modeling Tutorial.