Azure Synapse Notebook does't fail immediately in case of error in code
Hello,
I am struggling with really weird behavior when executing a notebook within Azure Synapse. I am utilizing pyspark and sql within this notebook and noticed that the notebook doesn't fail immediately in case of a bug or let's say typo in a code. For example I create a temp view and if I then make a SELECT from that view in another cell and type wrong view name (view which doesn't exist) the cell runs anyway very long time (around 30 minutes) and then it fails on some generic error:
"org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Got exception:"
I'd expect that it fails immediately on "object doesn't exist" or whatever.
I encountered the same behavior also when using python code which makes all the debugging and testing very hard.
Do you please know why it's like that and how to eventually avoid that ?
Thanks