goyaladitay11 opened a new pull request, #74225:
URL: https://github.com/apache/airflow/pull/74225
closes: #74195
Description
Adds explicit Delta table version observation to the Databricks provider as
Phase 1 of #74195.
Key additions:
- UnityTableIdentity`**: Dataclass representing a static Unity Catalog table
identity with validation and conversion to Airflow Asset (`to_asset()`).
- DatabricksDeltaTableVersionSensor`: Sensor that queries Delta history
(`DESCRIBE HISTORY {table_name} LIMIT 1`), detects new version commits, records
provenance into XCom and Asset event `extra` metadata, and supports automatic
asset outlet declaration.
- DatabricksDeltaTableVersionTrigger`: Trigger providing deferrable async
polling with bounded backoff.
- Supports initial enrollment (capturing current version as baseline on
first poke), `target_version`, and `allow_recreation` handling for tables
dropped and recreated.
- Documented usage, parameters, and reproducibility note under
`providers/databricks/docs/operators/delta_table_sensor.rst`.
- Registered sensor and trigger in `provider.yaml` and
`get_provider_info.py`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]