Skip to main content

Module frame

Module frame 

Source
Expand description

Window frame bound resolution.

Given the current row position, the partition length, the frame spec, and (for RANGE/GROUPS) order-by values, this module resolves a frame to a concrete [start_idx, end_idx] inclusive range into the partition’s index array.