Add table metadata¶
Operational columns and Unity Catalog tags serve different purposes. Columns become part of the data; tags describe tables and columns in Unity Catalog.
Add an ingestion timestamp¶
Select built-in metadata columns on the action that should add them:
- name: load_orders
type: load
source:
type: cloudfiles
path: "${landing_path}/orders/*.json"
format: json
target: v_orders
operational_metadata: [_ingestion_timestamp]
To define your own column expression, add it under
operational_metadata.columns in lhp.yaml and select its name on the
flowgroup or action. Use an explicit list; true alone selects no columns.
See Operational metadata for built-in names, applicable
target types and selection rules.