-
Notifications
You must be signed in to change notification settings - Fork 94
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
Refactor aggregate functions #3136
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3136 +/- ##
==========================================
- Coverage 91.95% 91.94% -0.02%
==========================================
Files 1168 1168
Lines 44085 44062 -23
==========================================
- Hits 40538 40511 -27
- Misses 3547 3551 +4 ☔ View full report in Codecov by Sentry. |
@@ -106,6 +107,17 @@ struct CollectFunction { | |||
std::make_unique<common::LogicalType>(arguments[0]->dataType)); | |||
return std::make_unique<FunctionBindData>(std::move(returnType)); | |||
} | |||
|
|||
static function_set getFunctionSet() { |
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.
Move to cpp?
@@ -22,6 +23,14 @@ struct CountStarFunction : public BaseCountFunction { | |||
(void)input; | |||
state->count += multiplicity; | |||
} | |||
|
|||
static function_set getFunctionSet() { |
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.
Move to cpp?
a4107b6
to
77a7d4e
Compare
This PR resolves the issue #3050