public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tatsuo Ishii <[email protected]>
To: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Subject: Re: Row pattern recognition
Date: Fri, 26 Jun 2026 11:32:16 +0900 (JST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAAAe_zBAwUbzahW3wFM+toS6Ap565j1q9SOa0irhYSRTujGbyA@mail.gmail.com>
References: <CACJufxE80E13g575_ywVjDat-Lmmx3WkukzqRvb936P0jA4h6w@mail.gmail.com>
<CAAAe_zAjkjUZHMqu5DjgZH9ZZ6D5v4bBJy60ziwhHRoohnB7Zg@mail.gmail.com>
<CAAAe_zBAwUbzahW3wFM+toS6Ap565j1q9SOa0irhYSRTujGbyA@mail.gmail.com>
Hi Henson,
> Hi all,
>
> A quick heads-up for this thread, cross-referenced from another one.
>
> Haibo Yan has a patch series adding DISTINCT support to plain aggregate
> window functions [1]. As it touches window-aggregate frame handling, I
> applied it on top of the current RPR patch set and built the two together.
> They combine cleanly today: no rebase conflict, and the regression tests
> pass with no change to code or tests.
>
> This is structural, not luck. RPR requires the frame to start at CURRENT
> ROW, while that feature requires UNBOUNDED PRECEDING, so a single window can
> satisfy at most one of them -- no overlap.
>
> That said, the DISTINCT roadmap plans to relax its UNBOUNDED-PRECEDING
> restriction (the sliding-frame patches), while RPR's CURRENT-ROW requirement
> is fixed by the standard. So as those frame restrictions are lifted the two
> could start to overlap, and at that point we'd likely need to review the
> related frame-handling changes together. Nothing to act on now -- just
> flagging it so we keep an eye on it.
>
> Full review of the DISTINCT series is in the other thread [1].
>
> [1]
> https://www.postgresql.org/message-id/[email protected]...
Thanks for letting know us!
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp
view thread (181+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: Row pattern recognition
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox