GET_PYTHON_PROFILER_OUTPUT
functiondeferredUDFs, procedures, tasks, alerts, scriptingReturns output containing a report generated by the Python code profiler.
Syntax
SNOWFLAKE.CORE.GET_PYTHON_PROFILER_OUTPUT(<query_id>)
Parameters
| Name | Required | Description |
|---|---|---|
query_id | required | Query 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
- The emulator does not instrument Python handlers with a profiler, so no profiler output is ever produced.