Re: Window Function "Run Conditions"

Поиск
Список
Период
Сортировка
Искать
От
Greg Stark
Тема
Re: Window Function "Run Conditions"
Дата
Msg-id
CAM-w4HN7D1wgTnKqUEnjie=E_6kJRC08CuGTLQgSirFPo3kY6A@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" Zhihong Yu <zyu@yugabyte.com>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" Andy Fan <zhihui.fan1213@gmail.com>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" Andres Freund <andres@anarazel.de>
Re: Window Function "Run Conditions" Andy Fan <zhihui.fan1213@gmail.com>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" Andres Freund <andres@anarazel.de>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" Andres Freund <andres@anarazel.de>
Re: Window Function "Run Conditions" Andy Fan <zhihui.fan1213@gmail.com>
Re: Window Function "Run Conditions" Andy Fan <zhihui.fan1213@gmail.com>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" Andy Fan <zhihui.fan1213@gmail.com>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" Zhihong Yu <zyu@yugabyte.com>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" Zhihong Yu <zyu@yugabyte.com>
Re: Window Function "Run Conditions" Andy Fan <zhihui.fan1213@gmail.com>
Re: Window Function "Run Conditions" Zhihong Yu <zyu@yugabyte.com>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" Greg Stark <stark@mit.edu>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" Corey Huinker <corey.huinker@gmail.com>
Re: Window Function "Run Conditions" David Rowley <dgrowleyml@gmail.com>
Re: Window Function "Run Conditions" "David G. Johnston" <david.g.johnston@gmail.com>
Re: Window Function "Run Conditions" Pavel Stehule <pavel.stehule@gmail.com>
This looks like an awesome addition.

I have one technical questions...

Is it possible to actually transform the row_number case into a LIMIT
clause or make the planner support for this case equivalent to it (in
which case we can replace the LIMIT clause planning to transform into
a window function)?

The reason I ask is because the Limit plan node is actually quite a
bit more optimized than the general window function plan node. It
calculates cost estimates based on the limit and can support Top-N
sort nodes.

But the bigger question is whether this patch is ready for a committer
to look at? Were you able to resolve Andy Fan's bug report? Did you
resolve the two questions in the original email?


В списке pgsql-hackers по дате отправления
От: Mark Dilger
Дата:
От: Jacob Champion
Дата:
FAQ