-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Create name
of aggregate expression from expressions
#11707
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
Comments
name
of aggregate expression from expressions
How to handle aliased aggr expr? Keep an optional name param in |
It's not clear to me why do we need to handle aliased aggr expr, but |
For example
|
I see. I think keeping optional param for alias seems like the best idea. |
Originally posted by @alamb in #11617 (comment)
I think it is possible to build the name from expressions, so we don't need. to provider
name
in expression builderThe code is how the name constructed currently.
The solution in my mind
create name in
AggregateExprBuilder::build
so we don't need functionname
increate_aggregate_expr_with_dfschema
.Additional context
Remove
name
increate_aggregate_expr
is ideally, but if someone has given the name that is not we expected, their code might failed. 🤔The text was updated successfully, but these errors were encountered: