Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement streaming for specialized group by string aggregator #9188

Closed

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Feb 10, 2024

This is a snapshot of the code for #8827

Related to #9195

This PR includes support for emit_to which I am confident is correct but is quite complicated and I didn't want to include in the first version

@github-actions github-actions bot added physical-expr Changes to the physical-expr crates core Core DataFusion crate labels Feb 10, 2024
@alamb alamb force-pushed the alamb/specialized_group_keys_with_streaming branch from da68c45 to 489c4c1 Compare February 10, 2024 16:42
@alamb alamb changed the title Implement stremaing for specialized group by strings Implement streaming for specialized group by string aggregator Feb 10, 2024
}
}

/// Removes the first n distinct values inserted into this set, in the order
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the code that removes only the first_n from the set and updates the state. It is pretty complicated and I am not sure the performance benefit is worth it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does have significant test coverage, however

@alamb
Copy link
Contributor Author

alamb commented Mar 2, 2024

This thing is crazy complicated -- I don't plan to pursue it unless there is a real need to improve this performance

@alamb alamb closed this Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate physical-expr Changes to the physical-expr crates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant