extract_top_offenders

Function extract_top_offenders 

Source
pub async fn extract_top_offenders(
    ctx: &SessionContext,
) -> Result<Vec<RecordBatch>>
Expand description

Extracts top offenders from the frame statistics.

This function queries the frame_stats table (which is expected to be registered in the SessionContext) and returns the top 100 offenders by duration_in_frame for each budget.