Skip to main content

Tables

The Tables class provides CRUD operations for database table metadata, plus table-specific helpers for tagging, column descriptions, custom metrics, and sample data. FQN format: service_name.database_name.schema_name.table_name

Import

Create

create() is idempotent — it calls createOrUpdate under the hood. If a table with the same FQN already exists, it is updated.

Retrieve

By ID

By fully-qualified name

With specific fields

Available fields include: columns, tags, owners, followers, domain, description, sampleData, tableConstraints, customMetrics.

List

Single page

All tables (auto-paginated)

With filters

Update

update() computes a JSON Patch diff between the fetched entity and your modified version.

Delete

Table-Specific Operations

Add a tag

Attach a classification or glossary tag by its FQN:

Update a column description

Add a custom metric

Add sample data

Get sample data

CSV Export / Import

Version History

Restore