Resolved! How to actually get job_id and run_id in a Databricks Python wheel task (Avoid Hallucinations)
We needed job_id and run_id in a custom metrics Delta table so we could join to `system.lakeflow.job_run_timeline`. Tried four approaches before finding the one that works on serverless compute.What doesn't workspark.conf.get("spark.databricks.job.id...
- 4214 Views
- 1 replies
- 1 kudos
Latest Reply
If some one just looking for solution, here you goJob-level parameters with dynamic value references, piped into task named_parameters:parameters: - name: job_id default: "{{job.id}}" - name: run_id default: "{{job.run_id}}" tasks: - python_wheel_ta...
- 1 kudos