On Fri, Oct 13, 2017 at 12:06 PM, Jeevan Chalke <jeevan.chalke@enterprisedb.com> wrote: > While playing around with the patch I have noticed one regression with the partial partition-wise aggregate.
I am consistently able to reproduce this on my local machine.
Scenario: Group by on non-key column and only one tuple per group.
I didn't get what you mean by regression here. Can you please explain?
I see that PWA plan is selected over regular plan when enabled on the basis of costing.
Regular planning need a Result node due to which costing increases where as PWA don't need that and thus wins.
--
Jeevan Chalke Technical Architect, Product Development EnterpriseDB Corporation The Enterprise PostgreSQL Company