Github user hvanhovell commented on the issue:

    https://github.com/apache/spark/pull/15317
  
    @dongjoon-hyun I think I have forgotten a case. We are allowed to use 
multi-level sorted range frames, if we collapse these windows we will end with 
the wrong result. For instance:
    ```
    sum(a) over (partition by a order by b, c range between unbounded preceding 
and current row)
    sum(a) over (partition by a order by b range between unbounded preceding 
and current row)
    ```
    Have different  outcomes.
    
    We could fix this, but this would require us rewrite parts of the 
WindowExec operator.
    
    Could you revert the changes? I am sorry about that!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to