- Categories:
System functions (System Information)
GET_PYTHON_PROFILER_OUTPUT (SNOWFLAKE.CORE)¶
Returns output containing a report generated by the Python code profiler.
Syntax¶
Arguments¶
query_idQuery 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.
Examples¶
When the profiler is set to profile memory, rather than time, the setting looks something like the following.