bob-skowron commented on PR #63611:
URL: https://github.com/apache/airflow/pull/63611#issuecomment-4084159220
I can't test all the different ways we would run it, but here is an example
running airflow locally interacting with Databricks via SP & token
async
<img width="1624" height="746" alt="{8DC6E93B-CFCB-4C9E-BB78-E23F12A9171C}"
src="https://github.com/user-attachments/assets/4196baac-356d-4bbd-a95b-6bb05c716317"
/>
sync
<img width="1641" height="732" alt="{F1CF2241-DCE9-4C65-997C-3E057DE2947A}"
src="https://github.com/user-attachments/assets/84259c94-b2c5-4707-bd2b-33632c96e539"
/>
```python
from __future__ import annotations
from datetime import datetime, timezone
from airflow import DAG
from airflow.providers.databricks.operators.databricks import
DatabricksRunNowOperator
with DAG(
dag_id="test_async_databricks",
start_date=datetime(2024, 1, 1, tzinfo=timezone.utc),
schedule=None,
catchup=False,
):
DatabricksRunNowOperator(
task_id="test_task",
databricks_conn_id="databricks_default",
deferrable=True, #False for sync
job_name="[dev bob_skowron] Calendar regression tests",
)
```
--
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]