Skip to main content

datacontract import hive

Import a data contract from a Hive database.

datacontract import hive [OPTIONS]
OptionDefaultDescription
--source—The host of the HiveServer2.
--port—The HiveServer2 port (default 10000).
--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 hive --source localhost --database default --output datacontract.yaml

Guide: Import: Hive.