jroachgolf84 commented on code in PR #74330:
URL: https://github.com/apache/airflow/pull/74330#discussion_r4438372261


##########
providers/databricks/docs/operators/run_now.rst:
##########
@@ -172,6 +172,44 @@ Durable execution requires Airflow 3.3 or newer, since it 
relies on the task sta
 operator always triggers a fresh run on retry, exactly as before this feature 
existed.
 
 
+
+Explicit assets
+^^^^^^^^^^^^^^^
+
+Use ``outlets`` to declare the Unity Catalog tables that the job writes to,
+using 
:class:`~airflow.providers.databricks.assets.databricks.UnityTableIdentity`::
+
+    from airflow.providers.databricks.assets.databricks import 
UnityTableIdentity
+
+    table = UnityTableIdentity(
+        host="my-workspace.cloud.databricks.com",
+        catalog="main",
+        schema="default",
+        table="my_airflow_table",
+    )
+
+    DatabricksRunNowOperator(
+        task_id="run_now",
+        job_id=jobs_create_named.output,
+        outlets=[
+            table.to_asset()

Review Comment:
   This is neat functionality, I didn't know you could do that.



-- 
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]

Reply via email to