-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: Add AggregateRel.ToBuilder() #114
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #114 +/- ##
==========================================
+ Coverage 63.53% 63.61% +0.07%
==========================================
Files 44 44
Lines 10858 10876 +18
==========================================
+ Hits 6899 6919 +20
+ Misses 3644 3642 -2
Partials 315 315 ☔ View full report in Codecov by Sentry. |
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.
If I use ToBuilder(), how do I then override measures and/or input?
Hmm, true. The builder doesn't have a way to get rid of the existing measures. The cleanest way would be to provide a clear method. The builder doesn't have a way to change the input but AggregateRel.Copy allows the input to change. I propose adding: AggregateRelBuilder.ReplaceInput |
What about replacing measures? (That's my specific use case.) |
If I implement |
@jacques-n Is Clear() sufficient for your purposes or would you like SetMeasure() as well? |
No description provided.