You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 738aabd
Browse filesBrowse the repository at this point in the historyBrowse files
feat(frontend-sql): model SQL window frame clauses (ROWS/RANGE BETWEEN ...)
SQLWindowFunc previously dropped the frame clause entirely — a default
frame, ROWS BETWEEN 2 PRECEDING AND CURRENT ROW, and ROWS BETWEEN
CURRENT ROW AND UNBOUNDED FOLLOWING all lowered to identical IR, so
every frame-sensitive window function (SUM, AVG, COUNT, MIN, MAX,
FIRST_VALUE, LAST_VALUE, NTH_VALUE) with a non-default frame was
silently wrong. Adds WindowFrame/WindowFrameUnits/WindowFrameBound to
the canonical IR and threads it through lowering, CSE, resolve, and
DAG export. GROUPS frames are rejected explicitly (unused in this
repo's SQL corpora, unsupported downstream).
Fixes#268
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments