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
Which call creates a feature table in Unity Catalog?
- FeatureEngineeringClient.create_table
- mlflow.create_feature_table
- FeatureLookup.create_table
- 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.
Which are benefits of Unity Catalog feature tables over workspace-level feature stores?
- Accessible from all workspaces attached to the same metastore
- Access controlled by Unity Catalog privileges and grants
- Data is stored in a proprietary non-Delta format
- Visible only to the workspace that created them
- 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.
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.
