Rachelint commented on issue #11931:
URL: https://github.com/apache/datafusion/issues/11931#issuecomment-2283176521
The new procedure sketch:
- New emission mode:
```
pub enum EmitTo {
/// Emit all groups
All,
/// Emit only the first `n` groups and shift all existing group
/// indexes down by `n`.
///
/// For example, if `n=10`, group_index `0, 1, ... 9` are emitted
/// and group indexes '`10, 11, 12, ...` become `0, 1, 2, ...`.
First(usize),
/// Emit all groups managed by blocks
AllBlocks,
/// Try to emit only the first `n` groups similar as `First`.
/// But `n` will be aligned to block size, and finally serval blocks
will be returned.
///
/// For example, `n= 10`, `block size=4`, `n` will be aligned to 12,
/// and finally 3 blocks will be returned.
FirstBlocks(usize),
}
```
--
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]