File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed
modules/ROOT/pages/queries/composed-queries Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -474,8 +474,28 @@ ELSE {
474474The query above calculates the total price of products purchased per customer and then only applies the customer discount to sums below 1000.
475475
476476
477- [[next-aggregations-in-union-and-call]]
478- == `NEXT` and aggregations in the context of `UNION` and `CALL`
477+ [[issues-fixes]]
478+ == Known issues and fixes
479+
480+ `NEXT` initially did not correctly handle aggregations in the context of `UNION` branches and `CALL` subqueries.
481+ As of Neo4j 2025.08, this issue has been fixed.
482+ The table below summarizes the behavior changes across versions.
483+
484+ [[%header,cols="a,5a"]
485+ |===
486+ | Neo4j version
487+ | Behavior
488+
489+ | 2025.06
490+ | `NEXT` yields incorrect results when using aggregations in the context of `UNION` branches and `CALL` subqueries.
491+
492+ | 2025.07
493+ | Using aggregations with `NEXT` in the context of `UNION` branches and `CALL` subqueries throws an error.
494+
495+ | 2025.08+
496+ | `NEXT` correctly supports aggregations in the context of `UNION` branches and `CALL` subqueries.
497+ See above for more details.
498+ |===
479499
480500As of Neo4j 2025.08, `NEXT` correctly supports aggregations in the context of `UNION` and `CALL`.
481501In Neo4j 2025.06, such queries yielded incorrect results while they created an error in Neo4j 2025.07.
You can’t perform that action at this time.
0 commit comments