If two rows have the same partition and order key, ROW_NUMBER would need an extra ordering fact.
ambiguous ties fail closed
Reject hidden order
The request is rejected; ambiguous tie groups are 1; result rows are 0.
result rows=0
Window-function examples are tiny finite table transforms; SQL dialects, NULL ordering, frames beyond prefix rows, optimizer behavior, performance, and product behavior are out of scope.
Read the tied rows
The ambiguous ties table names the rows that need an explicit tie-breaker.