GET_PYTHON_PROFILER_OUTPUT

functiondeferredUDFs, procedures, tasks, alerts, scripting

docs.snowflake.com ↗

System functions

Returns output containing a report generated by the Python code profiler.

Syntax

SNOWFLAKE.CORE.GET_PYTHON_PROFILER_OUTPUT(<query_id>)

Parameters

NameRequiredDescription
query_idrequiredQuery ID of the stored procedure query for which profiling was enabled.

Returns

A string of type VARCHAR with the report generated by the code profiler.

Access control requirements

You must use the ACCOUNTADMIN role to call this function.

Known gaps

Parts not fully supported, and recorded divergences from Snowflake.