datacontract import trino
Import a data contract from a Trino catalog.
datacontract import trino [OPTIONS]
| Option | Default | Description |
|---|---|---|
--source | — | The host of the Trino coordinator. |
--port | — | The Trino port (default 8080). |
--catalog | — | The Trino catalog. |
--schema | — | The Trino schema. |
--table | — | Name of a table to import (repeat for multiple tables, omit for all tables). |
--output | — | File path where the Data Contract will be saved. If not provided, it will be printed to stdout. |
--owner | — | The owner or team responsible for managing the data contract. |
--id | — | The identifier for the data contract. |
--debug / --no-debug | — | Enable debug logging |
datacontract import trino --source localhost --catalog my_catalog --schema my_schema --output datacontract.yaml
Guide: Import: Trino.