Replies: 1 comment 1 reply
-
Thanks for writing this proposal. On it's own the proposed extension looks reasonable, but I fear we do need to perform more design work here as the postgres documentation outlines quite a few other syntax variants there that might interact with filter clauses in this location. This becomes especially important if you also want to support window functions which have a syntax part that looks essentially the same. We also need to research if other backends might support this syntax as well. At least for window functions (+filter) that seems the case for SQLite. The good news is that I'm already working on implementing window functions so there will likely be a better starting point published in the next few weeks. At least in my local draft this also enables |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've found myself needing Postgres' aggregate function filtering, e.g.
It appears to not be implemented yet, so I've sketched out this rough implementation if you're open to a PR for it?
Usage:
Beta Was this translation helpful? Give feedback.
All reactions