daniel_sahal
Databricks MVP

@pjain 
Why not triggering the sql code with spark.sql? IMO it would be much easier to create error handling by using python.