mustafasrepo commented on issue #11366: URL: https://github.com/apache/datafusion/issues/11366#issuecomment-2219642347
Actually existing `AggregateExec` supports streaming. It has a member `input_order_mode` which is following enum: ```rust pub enum InputOrderMode { /// There is no partial permutation of the expressions satisfying the /// existing ordering. Linear, /// There is a partial permutation of the expressions satisfying the /// existing ordering. Indices describing the longest partial permutation /// are stored in the vector. PartiallySorted(Vec<usize>), /// There is a (full) permutation of the expressions satisfying the /// existing ordering. Sorted, } ``` When mode is either `Sorted` or `PartiallySorted` (decided by planner according to ordering at the input) operation is streamable. However, to trigger this modes at least one of the group by expression should 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-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org