snowflake.snowpark.StoredProcedureProfiler

class snowflake.snowpark.StoredProcedureProfiler(session: Session)[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.43.0/src/snowflake/snowpark/stored_procedure_profiler.py#L18-L81)

Bases: SnowparkProfiler

Set up profiler to receive profiles of stored procedures. This feature cannot be used in owner’s right stored procedure because owner’s right stored procedure will not be able to set session-level parameters.

Methods

set_active_profiler([active_profiler_type])

Set active profiler.

set_target_stage(stage)

Set targeted stage for profiler output.

语言: 中文