Window function fixes#2894
Conversation
|
|
SummaryThe run covered SQL analytics behavior around window functions, including normal query flows and tougher compositions like sorting by computed ranks, lateral subqueries, and aggregate expressions. Basic lateral and conformance-style paths looked healthy, but several edge-case query shapes still crash instead of returning results or typed errors. Not safe to merge yet — this change appears to introduce multiple failures in the same window-query execution area, including runtime crashes on valid analytics patterns. While some baseline and regression paths pass and at least one similar issue appears pre-existing, the newly introduced crash-level defects make merge risk high for production query reliability. Tests run by ItoAdditional Findings DetailsThese findings are unrelated to the current changes but were observed during testing. 🟡 Window rank query fails under outer ORDER BY
Evidence PackageTip Reply with @itoqa to send us feedback on this test run. |
|
3d68acb to
2bbe503
Compare
|
Diff SummaryThis run exercised SQL window and aggregation behavior across normal query flows and edge-case shapes, including nested query wrappers, type compatibility at the client boundary, and large-number arithmetic limits. Most core ranking and sum scenarios behaved as expected, but a couple of changed paths still show stability and type-consistency gaps. Merge with caution — this PR has two attributable new failures, including one medium-severity correctness/stability issue and one minor type-contract mismatch in changed aggregate behavior. Additional medium findings were also observed but are marked unrelated to this PR, so they are caveats rather than merge blockers for this change. Tests run by ItoAdditional Findings DetailsThese findings are unrelated to the current changes but were observed during testing. 🟡 Integer SUM loses precision at high magnitudes
Evidence Package🟡 Two-hop SubqueryAlias wrapper returns numeric instead of bigint for rank
Evidence Package🟡 CASE-over-rank SUM returns float instead of bigint
Evidence Package🟡 SUM over ranked rows returns float64
Evidence Package🟡 CASE-over-rank SUM returns float64 instead of bigint
Evidence PackageTip Reply with @itoqa to send us feedback on this test run. |
b2a5fdf to
5fecff5
Compare
Commit: SummaryThis run covered core SQL calculation behavior across aggregates, cast handling, windowed computations, and mixed-type value processing, including boundary-scale and nested-query paths that stress correctness and type consistency. Overall behavior is stable for the change under review, with only a known pre-existing precision mismatch in integer averaging semantics still present. Safe to merge — the results show no regressions or other failures attributable to this PR, so current merge risk from this change is low. The remaining medium-severity issue is an existing aggregate precision behavior gap outside this PR and is best tracked separately. Tests run by ItoAdditional Findings DetailsThese findings are unrelated to the current changes but were observed during testing. 🟡 AVG over integer columns keeps float precision artifacts
Evidence PackageTip Reply with @itoqa to send us feedback on this test run. |
4f77605 to
f256286
Compare



Related to #1796