Skip to main content
Skip table of contents

Import mappings

Mappings from a source entity to a target entity can be imported into Designer in either CSV or JSON format.


See also:

Usage

The Import Mappings menu is located on the Designer front page, next to the package list.

Screenshot 2025-10-09 at 8.50.28.png

Prepare an import file using the required format to add new mappings, and then import it via the Import Mappings menu.


CSV format

Basic requirements

  • Header row is mandatory

  • No extra whitespace between columns

  • Allowed column delimiters:

    • comma: ","

    • semicolon: ";"

    • pipe: "|"

  • Allowed encoding:

    • UTF-8 (with or without BOM)

  • Allowed end of line characters

    • Windows: CR LF

    • Unix: LF


Columns

Columns

Description

Example

Required

source_entity_schema

Schema name of the source entity.

staging

Yes

source_entity_name

Name of the source entity or table.

STAGE

Yes

target_entity_schema

Schema name of the target entity.

rdv

Yes

target_entity_name

Name of the target entity or table.

H_ORDER

Yes

target_entity_load_name

Load job name for the target entity.

load_h_order_from_stage

Yes

entity_mapping_name

Name of the mapping between source and target.

stage_to_h_order

Yes

target_attribute_name

Attribute or column name in the target entity.

dv_id

Yes

source_system

Source system identifier.

company_crm

No

source_attribute_names

One or more source attribute names (comma-separated and quoted).

"customer_id,order_id,product_id"

No

target_system

Target system identifier.

company_dv

No

target_entity_load_type

Type of target entity load process (e.g., TRANSFORM_PERSIST).

TRANSFORM_PERSIST

No

target_entity_load_schedule_name

Name of the load schedule configuration.

load_h_order_from_stage_schedule

No

target_entity_load_description

Description of the load process.

Load from STAGE to H_ORDER

No

entity_mapping_position

Position or sequence of the mapping within the entity definition.

Each mapping is identified by a unique entity_mapping_name. If multiple target attributes belong to the same mapping, all rows must have the same entity_mapping_position value (typically 1). Only when defining multiple distinct mappings within the same import file should entity_mapping_position values differ (e.g., 1, 2, 3).

1

No

entity_mapping_type

Classification of the mapping type. Allowed values SOURCE or DEPENDENCY. See more in entity mapping types.

SOURCE

No

transformation_type

Type of transformation applied (e.g., CUSTOM, HASH). Learn more about transformation types.

CUSTOM

No

transformation_formula

Transformation formula applied to the source column(s).

"TO_VARCHAR(sdt_stage_create_time::TIMESTAMP, 'MM/DD/YYYY, HH24:MI HOURS')"

No

Example CSV File

Example import file with required columns

TEXT
source_entity_schema,source_entity_name,target_entity_schema,target_entity_name,target_entity_load_name,entity_mapping_name,target_attribute_name
staging,STAGE,rdv,H_ORDER,load_h_order_from_stage,stage_to_h_order,dv_id
staging,STAGE,rdv,H_ORDER,load_h_order_from_stage,stage_to_h_order,dv_load_time
staging,STAGE,rdv,H_ORDER,load_h_order_from_stage,stage_to_h_order,customer_name

Example import file with all columns

TEXT
source_system,source_entity_schema,source_entity_name,source_attribute_names,target_system,target_entity_schema,target_entity_name,target_entity_load_name,target_entity_load_type,target_entity_load_schedule_name,target_entity_load_description,entity_mapping_name,entity_mapping_position,entity_mapping_type,transformation_type,transformation_formula,target_attribute_name
company_crm,staging,STAGE,stage_create_time,company_dv,rdv,S_ORDER,load_s_order_from_stage,TRANSFORM_PERSIST,load_s_order_from_stage_schedule,Load from STAGE to S_ORDER,stage_to_s_order,1,SOURCE,CUSTOM,"TO_VARCHAR(sdt_stage_create_time::TIMESTAMP, 'MM/DD/YYYY, HH24:MI HOURS')",formatted_time
company_crm,staging,STAGE,"customer_id,order_id,product_id",company_dv,rdv,S_ORDER,load_s_order_from_stage,TRANSFORM_PERSIST,load_s_order_from_stage_schedule,Load from STAGE to S_ORDER,stage_to_s_order,1,SOURCE,HASH,,dv_id

JSON format

In addition to CSV, mappings can also be imported using a JSON file.
The JSON format provides a hierarchical structure that supports multiple mappings, transformations, and attribute configurations in a single file.

Field

Description

Example / Notes

loadName

Load name for the target entity.

"load_s_order_from_stage"

loadType

Type of the load.

"TRANSFORM_PERSIST"

scheduleName

Name of the load schedule configuration.

"1_HOUR"

description

Description of the load.

"Load from STAGE to S_ORDER"

targetSourceSystem

Target system name.

"company_dv"

targetEntityName

Target entity name.

"S_ORDER"

targetEntityOwner

Schema of the target entity.

"rdv"

entityMappings

Object containing one or more entity mappings.

Each key is the mapping name (e.g., "stage_to_s_order").

entityMappings..sourceSystem

Source system name.

"company_crm"

entityMappings..sourceEntityName

Name of the source entity.

"STAGE"

entityMappings..sourceEntityOwner

Schema of the source entity.

"staging"

entityMappings..mappingName

Name of the mapping.

"stage_to_s_order"

entityMappings..position

Position or sequence of the mapping within the entity definition.

Each mapping is identified by a unique entity_mapping_name. If multiple target attributes belong to the same mapping, all rows must have the same entity_mapping_position value (typically 1). Only when defining multiple distinct mappings within the same import file should entity_mapping_position values differ (e.g., 1, 2, 3).

1

entityMappings..mappingType

Classification of the mapping type. Allowed values SOURCE or DEPENDENCY. See more in entity mapping types.

"SOURCE"

entityMappings..attributeMappings

Array containing attribute-level mappings.

See below.

attributeMappings.sourceAttributes

List of source attributes involved in the mapping.

["customer_id", "order_id", "product_id"]

attributeMappings.targetAttribute

Target attribute name.

"dv_id"

attributeMappings.transformationFormulaType

Type of transformation applied (e.g., CUSTOM, HASH). Learn more about transformation types.

"CUSTOM"

attributeMappings.transformationFormula

Transformation formula or expression.

"TO_VARCHAR(sdt_stage_create_time::TIMESTAMP, 'MM/DD/YYYY, HH24:MI HOURS')"

Example JSON File

JSON
{
  "loadName": "load_s_order_from_stage",
  "loadType": "TRANSFORM_PERSIST",
  "scheduleName": "1_HOUR",
  "description": "Load from STAGE to S_ORDER",
  "targetSourceSystem": "company_dv",
  "targetEntityName": "S_ORDER",
  "targetEntityOwner": "rdv",
  "entityMappings": {
    "stage_to_s_order": {
      "sourceSystem": "company_crm",
      "sourceEntityName": "STAGE",
      "sourceEntityOwner": "staging",
      "mappingName": "stage_to_s_order",
      "position": 1,
      "mappingType": "SOURCE",
      "attributeMappings": [
        {
          "sourceAttributes": ["sdt_stage_create_time"],
          "targetAttribute": "formatted_time",
          "transformationFormulaType": "CUSTOM",
          "transformationFormula": "TO_VARCHAR(sdt_stage_create_time::TIMESTAMP, 'MM/DD/YYYY, HH24:MI HOURS')"
        },
        {
          "sourceAttributes": ["customer_id", "order_id", "product_id"],
          "targetAttribute": "dv_id",
          "transformationFormulaType": "HASH",
          "transformationFormula": null
        }
      ]
    }
  }
}

Notes

The import will fail if there are:

  • Any mappings to attributes which do not exist in the target entity


Examples

Entity mapping queries

Example entity mapping queries can be found from Github.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.