-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Minor: Add tests for User Defined Aggregate functions #6669
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, @alamb – can I help you by submitting my branch as a PR to this branch?
/// was update_batch called? | ||
update_batch: AtomicBool, | ||
/// was retract batch called? | ||
retract_batch: AtomicBool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice way to test expectations 👌🏻
Thanks for the offer @stuartcarnie ! I already incorporated the code from your branch into #6671 (which I will have up as a PR shortly) |
Co-authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Which issue does this PR close?
This is part of #6611
Rationale for this change
I am adding support for sliding windows in user defined aggregates and I need some way to test it.
The actual code change is relatively small but it takes non trivial effort to test, so I wanted to add the tests first so the actual code change is clearer.
What changes are included in this PR?
Add more tests to
user_defined_aggregates.rs
for a user defined aggregates.Are these changes tested?
it is only tests
Are there any user-facing changes?
No