When multiple window functions are used, all the window functions having
- syntactically equivalent PARTITION BY and ORDER BY
- clauses in their window definitions are guaranteed to be evaluated in a
- single pass over the data. Therefore they will see the same sort ordering,
- even if the ORDER BY does not uniquely determine an ordering.
+ equivalent PARTITION BY and ORDER BY
+ clauses in their window definitions are guaranteed to see the same
+ ordering of the input rows, even if the ORDER BY does
+ not uniquely determine the ordering.
However, no guarantees are made about the evaluation of functions having
different PARTITION BY or ORDER BY specifications.
(In such cases a sort step is typically required between the passes of