How to add guard before execution of SQL

Hi, our company use the Redash as the BI tool, and Hive at backend. The hive table store data for 3 years.

And there may be some bad sql like join two big tables and no partition filter on tables.

Do we have plugin to support self-define guard before the execution.

This isn’t supported in Redash. Could you achieve something similar with database permissions in your Hive instance?