You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2025/11/07 11:34:36 UTC

[I] Expects PARTITION BY expression to be ordered in DataFusion 51 release [datafusion]

alamb opened a new issue, #18527:
URL: https://github.com/apache/datafusion/issues/18527

   ### 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_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Expects PARTITION BY expression to be ordered in DataFusion 51 release [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #18527: Expects PARTITION BY expression to be ordered in DataFusion 51 release
URL: https://github.com/apache/datafusion/issues/18527


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Expects PARTITION BY expression to be ordered in DataFusion 51 release [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #18527:
URL: https://github.com/apache/datafusion/issues/18527#issuecomment-3842464187

   Thanks @linhr 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Expects PARTITION BY expression to be ordered in DataFusion 51 release [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #18527:
URL: https://github.com/apache/datafusion/issues/18527#issuecomment-3502047458

   I looked at that briefly at that test and it isn't clear where "Expects PARTITION BY expression to be ordered" is coming from. While the window function does have a partition by expression, I don't see why the partition by would be ordered.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Expects PARTITION BY expression to be ordered in DataFusion 51 release [datafusion]

Posted by "linhr (via GitHub)" <gi...@apache.org>.
linhr commented on issue #18527:
URL: https://github.com/apache/datafusion/issues/18527#issuecomment-3823496543

   This turns out to be an issue within Sail when certain distributed query plans are constructed incorrectly, causing validation to fail for `BoundedWindowAggExec`. So nothing goes wrong in DataFusion.
   
   The issue was only noticed after DataFusion 51, possibly due to how validation/optimization logic changed recently for physical planning in DataFusion.
   
   @alamb Feel free to close this issue!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org