Metabase Spark Query Limit

Hi we are using Spark Thrift Server on Metabase and we realise that Metabase doesn't apply any default limit on all our spark queries. Is there a way for us to set a default limit on all Spark queries run on Metabase if limit is applied on the queries?

Hi @Jensenity
Post "Diagnostic Info" from Admin > Troubleshooting.
Metabase should be applying limits to all queries:
https://github.com/metabase/metabase/blob/master/modules/drivers/sparksql/src/metabase/driver/sparksql.clj#L38-L51
Can you provide a query log showing it does not apply limits?