Where is the code for external functions executed?

Master the SnowPro Advanced Architect Test with flashcards, multiple-choice questions, and detailed explanations. Prepare thoroughly for your certification!

Multiple Choice

Where is the code for external functions executed?

Explanation:
External functions run the actual logic outside Snowflake. When you define such a function, Snowflake calls a remote endpoint where the function’s code is hosted (for example, an AWS Lambda function or another web service). Snowflake simply passes the input, the remote service processes it, and returns the result back to Snowflake. So the execution happens in the remote service, not inside Snowflake or in the client application. A stored procedure can orchestrate the call from Snowflake, but the external function’s code itself runs remotely.

External functions run the actual logic outside Snowflake. When you define such a function, Snowflake calls a remote endpoint where the function’s code is hosted (for example, an AWS Lambda function or another web service). Snowflake simply passes the input, the remote service processes it, and returns the result back to Snowflake. So the execution happens in the remote service, not inside Snowflake or in the client application. A stored procedure can orchestrate the call from Snowflake, but the external function’s code itself runs remotely.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy