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 c8a4431
Browse filesBrowse the repository at this point in the historyBrowse files
feat: carry source span on WindowFunction for diagnostics
Window aggregate / window UDF calls (e.g. `sum(first_name) OVER ()`)
previously passed `None` as the span into `verify_function_arguments`, so
the resulting diagnostic could not point at the SQL call site.
Add a `spans` field to `WindowFunction` (mirroring `ScalarFunction` /
`AggregateFunction`), populate it in `SqlToRel`, and thread it through
`ExprSchemable` so window function argument diagnostics carry the span.
Add a regression test for the window function path.
Addresses PR review feedback.
0 commit comments