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

Start copy & paste import

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