We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AggregateUDFImpl::simplfy()
For the same reasons as described for ScalarUDFImpl on #9289 we should allow user defined aggregates to provide simplification rules
ScalarUDFImpl
Add AggregateUDFImpl::simplify, following the model @jayzhan211 made in #9304
AggregateUDFImpl::simplify
No response
The text was updated successfully, but these errors were encountered:
AggregateFunction
FunctionFactory
I want to try it, maybe I can learn from #9304
Sorry, something went wrong.
Thanks @yyy1000 -- I think the first thing to do would be to pick an example to deonstrate how it works
Perhaps you could implement a case to simplify COUNT(NULL) to 0 or something?
COUNT(NULL)
0
Ok! I will try it
simplify
Successfully merging a pull request may close this issue.
Is your feature request related to a problem or challenge?
For the same reasons as described for
ScalarUDFImpl
on #9289 we should allow user defined aggregates to provide simplification rulesDescribe the solution you'd like
Add
AggregateUDFImpl::simplify
, following the model @jayzhan211 made in#9304
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: