### Describe the bug @shehabgamin reports in https://github.com/apache/datafusion/issues/17558#issuecomment-3499697794: > > Regressions > One of our tests related to window functions is failing with the error: > > ``` > Expects PARTITION BY expression to be ordered > ``` > > Here is the test in question: https://github.com/lakehq/sail/blob/8bc2a05d595f02aba3a23fcd26aef81df36a7b96/python/pysail/tests/spark/test_execution.py#L124-L148 ### To Reproduce Not sure ### Expected behavior _No response_ ### Additional context _No response_