Re: Rethinking representation of partial-aggregate steps

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Rethinking representation of partial-aggregate steps
Дата
Msg-id CAKJS1f_Rh6=32CLZobNCbjr7GsBr1vD0BHrY=ZO=sBSdGu3v0g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Rethinking representation of partial-aggregate steps  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Rethinking representation of partial-aggregate steps  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 26 June 2016 at 04:07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I wrote:
>> David Rowley <david.rowley@2ndquadrant.com> writes:
>>> The attached implements this, with the exception that I didn't really
>>> think AggPartialMode was the best name for the enum. I've named this
>>> AggregateMode instead, as the aggregate is only partial in some cases.
>
>> Hm.  We already have an AggStrategy (for hashed vs. grouped aggregation)
>> so adding AggregateMode beside it seems somewhere between confusing and
>> content-free.  And it's needlessly inconsistent with the spelling of the
>> existing enum name.  I'm not wedded to "AggPartialMode" but I think
>> we need some name that's a bit more specific than "AggregateMode".
>> Suggestions anyone?
>
> After a bit of thought, maybe AggDivision or AggSplit or something
> along those lines?

How about AggCompletion? It's seems to fit well in the sense of the
aggregation being partial or not, but less well when you consider
serialisation and combining states.


-- David Rowley                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Rename max_parallel_degree?
Следующее
От: Piotr Stefaniak
Дата:
Сообщение: Re: pg_bsd_indent - improvements around offsetof and sizeof