Advanced Topics
Snowflake also publishes a best practice/performance recommendation links that can also provide some options to improve performance.
Note
It is recommended while creating the functions to make them immutable which should improve performance for certain types of queries.
Ensure that you allow enough Cloud Function instances to run in order to handle the queries with large results sets.
Snowflake has the ability to create column masks which can invoke a remote external function. This allows the ease of use and control who can run the functions.
Examples:
CADP
CT-VL
For more information, refer to the Snowflake Documentation.