Distinct tightly coupled with Agg

From: Ankit Kumar Pandey <itsankitkp(at)gmail(dot)com>
To: pgsql-novice(at)lists(dot)postgresql(dot)org
Subject: Distinct tightly coupled with Agg
Date: 2022-11-12 11:11:10
Message-ID: d83168fa-13e7-a570-5d56-87691deb1a40@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello,

I am looking at todo item /Implement DISTINCT clause in window
aggregates /and while looking at code, I found /distinct/ tightly
coupled with Agg function. Looking at another todo item/Do we really
need so much duplicated code between Agg and WindowAgg?/  I was
wondering what is general stance on this?

If Agg/WindowAgg gets harmonized, implementing distinct would be lot
more intuitive. Should this be attempted first? If this is not
necessary, I assume making distinct a standalone piece should be an
option too?

Thanks,

Ankit

Browse pgsql-novice by date

  From Date Subject
Next Message Bzzzz 2022-11-14 14:50:57 hstore or jsonb ?
Previous Message Ankit Kumar Pandey 2022-11-06 19:32:41 Re: Todo item: distinct clause - guidance