Skip to main content

datacontract import clickhouse

Import a data contract from a ClickHouse database.

datacontract import clickhouse [OPTIONS]
OptionDefaultDescription
--source—The host of the ClickHouse server.
--port—The ClickHouse HTTP port (default 8123).
--database—The database name.
--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 clickhouse --source localhost --database default --output datacontract.yaml

Guide: Import: ClickHouse.