spark-sql abort when passed in a wrong sql