shahwazreza commented on code in PR #27000:
URL: https://github.com/apache/datafusion/pull/27000#discussion_r4439073878
##########
datafusion/physical-plan/src/sorts/sort.rs:
##########
@@ -4359,6 +4371,54 @@ mod tests {
Ok(())
}
+ /// Regression test for
<https://github.com/apache/datafusion/issues/26431>:
+ /// a `SortExec` with `fetch = Some(0)` over unsorted input used to panic
+ /// in `TopKHeap::new`. It must return no rows, and the shared TopK
+ /// dynamic filter must still complete once every partition has run.
+ #[tokio::test]
Review Comment:
Thanks! Since you're fine with the slt, I'll remove this.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]