daniel_sahal
Databricks MVP

@amde99 
Changing the mode to FAILFAST should be able to help you with throwing an exception.

 

daniel_sahal_0-1713513154148.png

https://spark.apache.org/docs/latest/sql-data-sources-json.html