Skip to main content

datacontract import unity

Import a data contract from Databricks Unity Catalog (alias of import databricks).

datacontract import unity [OPTIONS]
OptionDefaultDescription
--sourcePath to a Unity Catalog TableInfo JSON file. If omitted, imports from the Unity API using --table.
--tableFull name of a table in the Unity Catalog (repeat for multiple tables).
--outputFile path where the Data Contract will be saved. If not provided, it will be printed to stdout.
--json-schemaThe location (url or path) of the ODCS JSON Schema
--ownerThe owner or team responsible for managing the data contract.
--idThe identifier for the data contract.
--debug / --no-debugEnable debug logging
datacontract import databricks --table catalog.schema.my_table --output datacontract.yaml