Re: Request for Patch Feedback: Lag & Lead Window Functions Can Ignore Nulls - Mailing list pgsql-hackers

From Dean Rasheed
Subject Re: Request for Patch Feedback: Lag & Lead Window Functions Can Ignore Nulls
Date
Msg-id CAEZATCX++qyALrAWhm9GA=BT3Zg-_gdJrYwmF2kFfmvFvt_MhA@mail.gmail.com
Whole thread Raw
In response to Re: Request for Patch Feedback: Lag & Lead Window Functions Can Ignore Nulls  (Nicholas White <n.j.white@gmail.com>)
List pgsql-hackers
On 1 July 2013 03:07, Nicholas White <n.j.white@gmail.com> wrote:
>> Alternatively, it might be trivial to make all aggregate functions work
>> with ignore nulls in a window context
>
> This is a good idea, but I'd like to keep the scope of this patch limited
> for the time being

Agreed.


> - I'll look at doing this (along with the first / last /
> nth value window functions) for a later release.
>

On the other hand, perhaps this is not worth doing for aggregates,
since in that case IGNORE NULLS is just a special case of FILTER
(WHERE ...). Making IGNORE NULLS work for the other window functions
is probably more useful, as you say, in a future patch.

Regards,
Dean



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: plpython implementation
Next
From: ian link
Date:
Subject: Re: Support for RANGE ... PRECEDING windows in OVER