Skip to content

Conversation

@yjshen
Copy link
Member

@yjshen yjshen commented Apr 30, 2023

Which issue does this PR close?

Closes #6167 .

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the core Core DataFusion crate label Apr 30, 2023
@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Apr 30, 2023
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks good to me -- thank you @yjshen

/// `ScalarValue`s are utilized for updating accumulators, rather than the default
/// batch-slice approach. This can lead to performance improvements.
///
/// By adjusting the `scalar_update_factor`, you can balance the trade-off between
Copy link
Contributor

Choose a reason for hiding this comment

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

💯 for the text helping users understand the tradeoff

@yjshen
Copy link
Member Author

yjshen commented May 1, 2023

Thanks for the review @alamb! ❤️

@yjshen yjshen merged commit 6e8f91b into apache:main May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the threshold for using ScalarValues to update accumulators configurable

2 participants