-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
exec: some aggregations should promote the return type #38845
Comments
We also could consider handling projections. Note that there are two separate errors that can be triggered.
|
I think one of the work items here is to support |
The work for |
Currently in the vectorized engine, SUM and AVG will always return the same type as the input type.
But consulting the Postgres pg_catalog shows that the return type should differ sometimes:
It might be best to knock out #38823 at the same time as doing this.
Also perhaps doing this would eliminate the need for the SUM_INT aggregator.
The text was updated successfully, but these errors were encountered: