Skip to main content

Copy & paste import

Copy & paste import allows you to import metadata into Dataedo by pasting tab-delimited data from a spreadsheet. This is useful when you have data in Excel or can export it from your source system.

useful tip

Copy & paste import uses the same schema as Interface Tables. For detailed column reference, valid object types, and lineage rules, see the Interface Tables documentation.

What type of import to choose​

If your data source does not have a native metadata scanner and you either can export the metadata to a file or have preexisting documentation, consider pasting the metadata directly to Dataedo.

Dataedo supports two ways of adding this data:

Use Interface Tables when:

  • It's more convenient for you to input data directly into the database
  • You don't intend to use and maintain the Excel file
  • You want to automate the import process with scripts

Use copy & paste when:

  • It's more convenient for you to use UI
  • You have the data handy in Excel
  • You want quick, one-time imports

Importing Metadata in Dataedo Portal​

Entry point​

To start the Metadata Import flow, make sure you have the Connection Manager role. Go to Connections and click Add connection, then pick Paste Metadata or Paste Metadata Reporting from the connector list - see What type of import to choose above - to open the import wizard described in the following steps.

Add connection
info

In Portal, both connectors read your metadata from a spreadsheet file rather than from a grid you paste into. Prepare the workbook first, using the same tabs and columns as the Desktop flow - see Available tabs and columns below.

Step 1. Host details​

Provide the name of the Connection, an optional description, and tell Dataedo where the workbook is:

  • Metadata file path - the path to the .xlsx file holding your metadata
  • SQL dialect (optional) - the dialect to use when parsing any SQL in the workbook
  • Default schema (optional) - the schema to assign to objects whose row does not name one
  • Display name - the Title under which the imported source will be visible in Dataedo
file paths are resolved by the Agent

The path you enter here is opened by the Agent that runs the task, not by your browser - so a local path from your own machine will not work unless the Agent runs there. If several Agents can handle this connection, the file must be available at exactly the same path on each of them.

info

A Connection in Dataedo represents a saved configuration for accessing a data source.
It can be reused for future imports and scheduling.

Host details - Paste Metadata

The form is the same for Paste Metadata Reporting:

Host details - Paste Metadata Reporting

Advanced settings is optional — you can leave it collapsed and the connection will run on any available agent with the global timeouts. Expand it if you want to restrict the connection to a specific agent or override the task timeouts.

Step 2. Validate data​

Dataedo reads the workbook and reports what it found before anything is imported. A clean file shows No issues found; otherwise the problems are listed here - see Correct your data if it fails validation below for how to fix the most common ones.

Validate data

Step 3. Extended properties (optional)​

This step appears only if the workbook contains Extended Properties. You can map them to Custom Fields in Dataedo, or skip this step entirely. If you skip it, no Extended Properties will be imported.

Use the Overwrite option to decide whether each import replaces values already set in Dataedo.

Extended properties

Step 4. Objects to import​

Use Filter by schemas to choose the schemas to read and, within each one, the object types to import. Select Future Schemas to include schemas that appear in the workbook after this import as well.

The available types depend on which connector you picked. Paste Metadata offers Tables and Procedures:

Objects to import - Paste Metadata

Paste Metadata Reporting offers Datasets, Visualizations, Reports and Dashboards:

Objects to import - Paste Metadata Reporting

Switch to Advanced filters to include or exclude objects with schema patterns, name patterns and object types instead.

Advanced filters

Step 5. Schedule​

Configure the Metadata Import task for the source:

  • choose the metadata extraction options (Append only, Reimport all included objects)
  • run daily, on selected weekdays, or on specific days of the month
  • choose an exact time of execution
  • Task state:
    • Active - the task will run as scheduled
    • Draft - the task is saved but not executed until you switch it to Active
  • Run Immediately - when checked, the task will also be executed right after you click Create connection
Add Import Metadata task

Once saved, the task appears next to its source in the schedule list.

Schedule with a defined task
caution

You must configure at least one import task in the schedule section.
If you skip this, an empty database will be created and no metadata will be imported.


Importing Metadata in Dataedo Desktop​

Start by adding new connection to your repository.

New connection

Paste Metadata can be found within the generic connector group.

import form

Choose specific copy & paste connector​

Use Paste Metadata for importing:

  • Tables and views
  • Procedures and functions

Use Paste Metadata Reporting for importing:

  • Reports and dashboards
  • Datasets

These connectors differ based on the type of data they import, but they both support documenting the same elements:

  • Columns
  • Parameters
  • Triggers
  • Primary and unique keys
  • Foreign keys
  • Data lineage
  • Lineage processes
  • Linked sources

Available tabs and columns​

Each tab corresponds to an interface table. Use the Copy template button on each tab to copy column headers to your clipboard, then paste them into your spreadsheet as a starting point.

Paste metadata tabs and Copy template button

Paste Metadata connector​

TabKey ColumnsRequired Fields
TablesTableSchema, TableName, ObjectType, ObjectSubtype, Description, DefinitionTableName, ObjectType, ObjectSubtype
ColumnsObjectSchema, ObjectName, ObjectObjectType, ColumnName, DataType, NullableObjectName, ObjectObjectType, ColumnName
ProceduresProcedureSchema, ProcedureName, ObjectType, ObjectSubtype, DefinitionProcedureName, ObjectType, ObjectSubtype
ParametersObjectSchema, ObjectName, ObjectObjectType, ParameterName, ParameterMode, DataTypeObjectName, ObjectObjectType, ParameterName, ParameterMode
TriggersTableSchema, TableName, TableObjectType, TriggerName, TriggerType, Before, After, OnInsert, OnUpdate, OnDeleteTableName, TableObjectType, TriggerName, TriggerType
KeysTableSchema, TableName, TableObjectType, KeyName, KeyType, ColumnNameTableName, TableObjectType, KeyType, ColumnName
Foreign KeysForeignTableSchema, ForeignTableName, PrimaryTableSchema, PrimaryTableName, ForeignColumnName, PrimaryColumnNameForeignTableName, PrimaryTableName, ForeignColumnName, PrimaryColumnName
Data LineageSourceDatabaseName, SourceObjectName, SourceObjectType, ProcessorObjectName, ProcessorObjectType, TargetDatabaseName, TargetObjectName, TargetObjectTypeAll source, processor, and target fields
Lineage ProcessesProcessorObjectSchema, ProcessorObjectName, ProcessorObjectType, ProcessorProcessName, DescriptionProcessorObjectName, ProcessorObjectType
Linked SourcesLinkedSourceName, ConnectionDetails, SqlDialect, DescriptionLinkedSourceName

Paste Metadata Reporting connector​

The Reporting connector includes additional tabs and external ID fields:

TabKey ColumnsRequired Fields
DatasetsExternalId, TableSchema, TableName, ObjectSubtype, DescriptionTableName, ObjectSubtype
ReportsExternalId, ReportSchema, ReportName, ObjectType, ObjectSubtype, Url, DescriptionReportName, ObjectType, ObjectSubtype
ColumnsObjectExternalId, ObjectSchema, ObjectName, ObjectObjectType, ColumnName, ColumnExternalIdObjectName, ObjectObjectType, ColumnName
ParametersObjectExternalId, ObjectSchema, ObjectName, ObjectObjectType, ParameterName, ParameterModeObjectName, ObjectObjectType, ParameterName, ParameterMode
External ID for lineage

When importing BI objects (datasets, reports, dashboards), use ExternalId to uniquely identify objects. Data lineage to these objects must include the corresponding external_id columns. See Object matching for lineage for details.

Valid object types​

All type values must be UPPERCASE. See Valid object types for the complete reference.

Quick reference​

TabObjectType ValuesObjectSubtype Examples
TablesTABLE, VIEW, STRUCTURE, DATASETTABLE, EXTERNAL_TABLE, MATERIALIZED_VIEW, CSV, JSON
ProceduresPROCEDURE, FUNCTIONPROCEDURE, CLR_PROCEDURE, FUNCTION, CLR_FUNCTION
ReportsREPORT, DASHBOARD, VISUALIZATIONREPORT, POWER_BI_REPORT, DASHBOARD
TriggersTRIGGERTRIGGER, CLR_TRIGGER, RULE

Keys and parameters do not use the ObjectType/ObjectSubtype pattern:

TabFieldValid Values
Keyskey_typePK, UK
Parametersparameter_modeIN, OUT, INOUT

Import steps​

Copy headers to clipboard​

Every tab has its own Copy template button.

Copy template

Prepare your data​

Paste the template into your spreadsheet and populate the cells.

Excel

Paste data into Dataedo​

Each tab has its own Paste data button.

Paste data

Correct your data if it fails validation​

Every row needs to be valid to proceed with the import. Ensure data is correct by clicking the Validate button or pasting data into the tab. You can check for errors in the tooltip.

Validation error

We recommend correcting the data in the Excel file first. Then, you can remove all rows by selecting all rows in Dataedo, pressing Ctrl + A, and then clicking the delete button. After that, paste the data again.

Paste Metadata Reporting

Common validation errors​

ErrorCauseSolution
Required field is emptyMissing value in required columnFill in the required field (e.g., TableName, ObjectType)
Invalid ObjectTypeType value not recognized or not uppercaseUse valid uppercase type (e.g., TABLE, VIEW, PROCEDURE)
Invalid ObjectSubtypeSubtype not valid for the given ObjectTypeCheck valid subtypes for your ObjectType
Object not foundColumn references non-existent table/procedureAdd the parent object first (paste Tables before Columns)
Duplicate objectSame object pasted twiceRemove duplicate row or use different schema/name
Invalid ParameterModeMode not IN, OUT, or INOUTUse uppercase: IN, OUT, INOUT
Invalid KeyTypeKey type not PK or UKUse PK for primary key, UK for unique key
Column not foundFK/Key references non-existent columnAdd the column to Columns tab first
Database not foundLineage references unknown databaseAdd linked source or import the referenced database first

Paste order​

When pasting data across multiple tabs, follow this order to avoid validation errors:

  1. Tables (or Datasets/Reports for Reporting connector)
  2. Columns
  3. Procedures
  4. Parameters
  5. Triggers
  6. Keys and Foreign Keys
  7. Linked Sources
  8. Data Lineage
  9. Lineage Processes

Import​

Metadata will be uploaded to Interface Tables, and the import process will continue as usual.

You can select additional import options or keep clicking the "Next" button.

Finish import

Import changes​

When importing changes to an existing database created by pasting, you must paste all the data again. Otherwise, objects existing in the documentation but not pasted will be marked as deleted.

Import changes

See also​

Dataedo is an end-to-end data governance solution for mid-sized organizations.
Data Lineage • Data Quality • Data Catalog