Reject
The REJECT
Pre-hook can be executed when a query should not be executed in Snowflake. In those cases, the hook can provide additional context to the user about why the query was rejected.
{'message': <message>}
<message>
- A string that is returned to the user when the query is rejected.
CREATE SUNDECK FLOW REJECT_EVERYTHING
PRE HOOK CONVERT
ALWAYS
REJECT {'rejectMessage': $$This flow doesn't allow queries to be submitted.$$}
;