I have a Databricks job which runs my Python notebook. I am running Databricks 7.4 lts. This job is triggered via Powershell.
If something goes wrong during the pipeline I raise an Exception. This exception is not caught. However, the job does not show as "Failed" after the exception is raised. Instead, the job shows "Successful". I can see the exception in the logs for the job.
Why is the job not showing as failed?
if pipeline_failure:
raise Exception("Job should show failed")