Bitzu

Machine Learning Associate ยท Feature tables in Unity Catalog

Feature tables in Unity Catalog

Benefits of Unity Catalog feature tables (account-level governance, lineage, sharing across workspaces) versus workspace feature stores, and creating a feature table with FeatureEngineeringClient.create_table and primary keys.

Key points

  • Unity Catalog feature table: a Delta table with a primary key, named catalog.schema.table.
  • Governance: account/metastore level; grants, lineage and discovery work across all workspaces on the same metastore.
  • Legacy workspace feature store: tied to one workspace.
  • Create: FeatureEngineeringClient.create_table with name and primary_keys (plus timeseries_columns for time series features).

Source: https://docs.databricks.com/aws/en/machine-learning/feature-store/uc/feature-tables-uc

Practice questions

Single choice

Which call creates a feature table in Unity Catalog?

  1. FeatureEngineeringClient.create_table
  2. mlflow.create_feature_table
  3. FeatureLookup.create_table
  4. spark.catalog.createFeatureTable
Show answer

Answer: A. FeatureEngineeringClient.create_table

The Feature Engineering client exposes create_table. The other names do not exist in the client.

Select all that apply

Which are benefits of Unity Catalog feature tables over workspace-level feature stores?

  1. Accessible from all workspaces attached to the same metastore
  2. Access controlled by Unity Catalog privileges and grants
  3. Data is stored in a proprietary non-Delta format
  4. Visible only to the workspace that created them
  5. They need no primary key
Show answer

Answer: A. Accessible from all workspaces attached to the same metastore, B. Access controlled by Unity Catalog privileges and grants

UC gives metastore-wide access and UC governance. Feature tables are still Delta tables with primary keys; they are not stored inside the workspace or limited to one workspace.

True or false

A Unity Catalog feature table is stored in a special feature-store format rather than as a Delta table.

Show answer

Answer: False

False. It is a regular Delta table in Unity Catalog with a primary key constraint, so standard Delta and SQL tooling applies.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More Machine Learning Associate topics in this module