Skip to main content

Crate unitycatalog_common

Crate unitycatalog_common 

Source
Expand description

Shared types and utilities for the Unity Catalog server and client crates.

Most of the crate is the generated Unity Catalog data model, produced from the protobuf definitions in proto/ and re-exported from models. On top of that it collects the hand-written pieces both sides of the API depend on:

  • error — the crate-wide Error and Result types.
  • reference — the uc:// URL scheme for addressing catalog securables (UCReference).
  • [store] — the storage-abstraction trait (ResourceStore) implemented by backends (feature store).
  • [services] — envelope encryption for sealing sensitive fields inline (feature store).
  • [metric_view] — the single parser for Unity Catalog metric-view definitions (feature metric-view).

§Feature flags

The crate is feature-flag heavy so that downstream crates pull in only what they need. rest-client is on by default; grpc, axum, sqlx, store, metric-view, python, and node gate the corresponding integrations. See the crate README for the full table.

Re-exports§

pub use error::Error;
pub use error::Result;
pub use reference::UCReference;
pub use models::*;

Modules§

error
models
reference
URL scheme for referencing Unity Catalog securables.